On Wednesday 08 March 2006 23:16, Rich Shepard wrote:
> On Wed, 8 Mar 2006, Rich Shepard wrote:
> > I'll go back to the Help->Customization and see if I can find the
> > answers there.
>
> Well, reading /usr/local/share/lyx/ui/stdtoolbars.ui (and the other
> three files) leaves me more confused than enlightened. I don't see the
> references to the lib/image/action.xpm.
One example:
Toolbar "extra" "Extra"
Item "Numbered list" "layout Enumerate"
...
The icon is called layout_Enumerate.xpm
...
Item "Set top line" "tabular-feature toggle-line-top"
...
The icon is called tabular-feature_toggle-line-top.xpm
The basic rule for the icon name is to use the lyx commands where the spaces
have been replaced by an _underscore_.
> I see that menu position can be defined as top, bottom, or side. What
> controls how many lines of toolbar are present? On my 1280x1024 17" LCD
> monitor, I have two half-line toolbars. I'd like to place them on the same
> line but haven't figured out the magic to do that.
That is the syntax:
Toolbars
"standard" "on,top"
"extra" "on,top"
"table" "off,bottom"
"math" "off,bottom"
"minibuffer" "off,bottom"
End
Each line is of the form:
"toolbar_name" "state, placement"
The first entry is the name of the toolbar.
state has three possible values: on, off or auto. auto means that only shows
when the functions can be used.
placement is (well) the placement and can only be bottom or top.
> Thanks,
>
> Rich
--
José Abílio