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

@@ -39,6 +39,7 @@ Rotate::Rotate () : FoldableToolPanel(this, "rotate", M("TP_ROTATE_LABEL"))
selectStraight = Gtk::manage (new Gtk::Button (M("TP_ROTATE_SELECTLINE")));
selectStraight->set_image (*Gtk::manage (new RTImage ("rotate-straighten-small.png")));
selectStraight->get_style_context()->add_class("independent");
pack_start (*selectStraight, Gtk::PACK_SHRINK, 2);
selectStraight->signal_pressed().connect( sigc::mem_fun(*this, &Rotate::selectStraightPressed) );