Theme tweaks in light of new icons, #4469

- Button and combobox sizes consistent.
- Padding around left and right edges of comboboxes.
- Fixed bug in green channel preview togglebutton icon always being
  shown as "off".
- Added CSS classes to various elements.
This commit is contained in:
Morgan Hardwood
2018-07-18 19:37:24 +02:00
parent 2a359ce04a
commit 5309307c7b
15 changed files with 93 additions and 7 deletions

View File

@@ -13,6 +13,7 @@ Gradient::Gradient () : FoldableToolPanel(this, "gradient", M("TP_GRADIENT_LABEL
editHBox = Gtk::manage (new Gtk::HBox());
edit = Gtk::manage (new Gtk::ToggleButton());
edit->get_style_context()->add_class("independent");
edit->add (*Gtk::manage (new RTImage ("crosshair-adjust.png")));
edit->set_tooltip_text(M("EDIT_OBJECT_TOOLTIP"));
editConn = edit->signal_toggled().connect( sigc::mem_fun(*this, &Gradient::editToggled) );