Skip to content

config, dialog, widgets: Toolbutton larger size option

Mark Sweeney requested to merge pixelmixer/gimp-plugins:toolbutton into master

#9715

Mainly for 4k and 8k users, but also adds an accessibility extra. A new option is added to boost tool button size in the Toolbox, looks nice and also helps to differentiate tabs and tool buttons. There could by another step up of GtkIconSize, its maximum is 48px, 64px would be good. I'd love an 8K screen.

Currently with this new option set, Interface->Theme->Larger Toolbox buttons, Large and Huge become the same.

      switch (tool_icon_size)
        {
        case GTK_ICON_SIZE_INVALID:
          break;
        case GTK_ICON_SIZE_BUTTON:
          break;
        case GTK_ICON_SIZE_MENU:
          break;
        case GTK_ICON_SIZE_SMALL_TOOLBAR:
          tool_icon_size = GTK_ICON_SIZE_LARGE_TOOLBAR;
          break;
        case GTK_ICON_SIZE_LARGE_TOOLBAR:
          tool_icon_size = GTK_ICON_SIZE_DND;
          break;
        case GTK_ICON_SIZE_DND:
          tool_icon_size = GTK_ICON_SIZE_DIALOG;
          break;
        case GTK_ICON_SIZE_DIALOG:
          tool_icon_size = GTK_ICON_SIZE_DIALOG;
          break;

toolbutton-size

Merge request reports