Added labels and icons to wide buttons, #3594

This commit is contained in:
Morgan Hardwood
2017-01-06 21:46:40 +01:00
parent 4c20b1f4af
commit 15c5453884
5 changed files with 6 additions and 8 deletions

View File

@@ -37,10 +37,8 @@ Rotate::Rotate () : FoldableToolPanel(this, "rotate", M("TP_ROTATE_LABEL"))
degree->setAdjusterListener (this);
pack_start (*degree);
selectStraight = Gtk::manage (new Gtk::Button ());
selectStraight->set_tooltip_text(M("TP_ROTATE_SELECTLINE"));
Gtk::Image* selimg = Gtk::manage (new RTImage ("straighten-small.png"));
selectStraight->set_image (*selimg);
selectStraight = Gtk::manage (new Gtk::Button (M("TP_ROTATE_SELECTLINE")));
selectStraight->set_image (*Gtk::manage (new RTImage ("straighten-small.png")));
pack_start (*selectStraight, Gtk::PACK_SHRINK, 2);
selectStraight->signal_pressed().connect( sigc::mem_fun(*this, &Rotate::selectStraightPressed) );