how can the icon size be defined for drop down actions (now only sc_ (16px) icons were used) e.g. color icons https://dl.dropboxusercontent.com/u/1642456/LibreOffice/Sizing.png for now NO notebook-toolbar has the functionality to use drop down actions in another size than sc_
Did you try to set the "Icon size" property in Glade (under the "General" tab)? It should support the following values: - small icons (16px), set in Glade with "Menu" or "Small Toolbar". - large icons (26px), set in Glade with "Large Toolbar". - extra large (32px), set in Glade with "Drag & Drop". - default depends on what was set in Tools > Options... for Sidebar/Notebookbar. I implemented it some time ago with https://cgit.freedesktop.org/libreoffice/core/commit/?id=cdf4b2bba8d694299c784f46fe3ecef2ce41171e (see the commit message for more supported stuff). In addition, it's possible to set the size of a button regardless of the icon size with "Height request"/"Width request" (under the "Common" tab), but it works only for an individual button, not for a whole toolbar control.
Down there is the code of the SetOutline DropDown Button and when I add icon_size it didn't work. Sorry any idea? <child> <object class="GtkToolButton" id="SetOutline"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="is_important">True</property> <property name="action_name">.uno:SetOutline</property> <property name="use_underline">True</property> </object> <packing> <property name="expand">False</property> <property name="homogeneous">True</property> </packing> </child>
(In reply to andreas_k from comment #2) > Down there is the code of the SetOutline DropDown Button and when I add > icon_size it didn't work. Sorry any idea? icon_size belongs to the whole toolbar control (sfxlo-SidebarToolBox or sfxlo-NotebookbarToolBox), not to an individual button. The notebookbar.ui of Writer has some examples of its usage. Also make sure you use a recent version of master which has my commit. And if you're going to use Glade, also make sure to use the Glade catalog from master, not the one from 5.3.
Looks like this is not a bug.
This is awesome it works. Yes the bug is solved. But I have two questions: 1. the default icon size for "my" notebookbar_groups.ui file should be Large Toolbar, but I'd like to respect the user settings in Tools > Options how I have to define the icon in the .ui file, cause ordinary I'll say use cmd/lc_xxx file. 2. Is there a GOOD reason why there are 3 settings for the icon size. From my point of view one option should be enough Icon size (Small, Large, Extra Large).
(In reply to andreas_k from comment #5) > 1. the default icon size for "my" notebookbar_groups.ui file should be Large > Toolbar, but I'd like to respect the user settings in Tools > Options You can't. "Automatic" is currently hardcoded as small. > 2. Is there a GOOD reason why there are 3 settings for the icon size. Which 3 settings? I don't understand.
> > 2. Is there a GOOD reason why there are 3 settings for the icon size. > Which 3 settings? I don't understand. the user can change the toolbar icon size, sidebar icon size and notebook icon size. from my point of view one icon size would be enough.