diff --git a/src/gui/dialog/toolbarCustomize/ToolbarAdapter.cpp b/src/gui/dialog/toolbarCustomize/ToolbarAdapter.cpp index 7dcc7533..a5378f0a 100644 --- a/src/gui/dialog/toolbarCustomize/ToolbarAdapter.cpp +++ b/src/gui/dialog/toolbarCustomize/ToolbarAdapter.cpp @@ -133,7 +133,6 @@ void ToolbarAdapter::showToolbar() gtk_widget_show(this->w); GtkToolbar* tb = GTK_TOOLBAR(this->w); - gtk_toolbar_set_icon_size(tb, GTK_ICON_SIZE_SMALL_TOOLBAR); GtkToolItem* it = gtk_tool_item_new(); this->spacerItem = it; diff --git a/ui/xournalpp.css b/ui/xournalpp.css index a48ce004..a5eef027 100644 --- a/ui/xournalpp.css +++ b/ui/xournalpp.css @@ -1,5 +1,10 @@ /* * Backup before modifying + * + * + * Try running Xournal++ like this: GTK_DEBUG=interactive xournalpp + * + * See: https://wiki.gnome.org/action/show/Projects/GTK/Inspector */ @@ -41,3 +46,28 @@ GtkToolItem>GtkBox>GtkLabel+GtkLabel+GtkButton box-shadow:none; background-image:none } + + + +/* If you want to change the size of toolbar buttons try these: +* All toolbars: +*/ + +/* +GtkToolbar GtkButton +{ + padding: 2 +} +*/ + + + +/* Or for individual toolbars: tbLeft1 tbLeft2 tbTop1 tbTop2 tbBottom1 tbFloat4 etc: + */ + +/* +#tbLeft2 GtkButton +{ + padding: 2 +} +*/