Gtk3 by Hombre, issue 2807
This commit is contained in:
@@ -84,7 +84,7 @@ void ThresholdAdjuster::initObject (Glib::ustring label, bool editedcb)
|
||||
|
||||
hbox = Gtk::manage (new Gtk::HBox ());
|
||||
|
||||
this->label = Gtk::manage (new Gtk::Label (label, Gtk::ALIGN_LEFT));
|
||||
this->label = Gtk::manage (new Gtk::Label (label, Gtk::ALIGN_START));
|
||||
|
||||
if (editedcb) {
|
||||
editedCheckBox = Gtk::manage (new Gtk::CheckButton ());
|
||||
@@ -320,7 +320,7 @@ void ThresholdAdjuster::showEditedCB ()
|
||||
void ThresholdAdjuster::refreshLabelStyle ()
|
||||
{
|
||||
|
||||
/* Glib::RefPtr<Gtk::Style> style = label->get_style ();
|
||||
/* Glib::RefPtr<Gtk::StyleContext> style = label->get_style_context ();
|
||||
Pango::FontDescription fd = style->get_font ();
|
||||
fd.set_weight (editedState==Edited ? Pango::WEIGHT_BOLD : Pango::WEIGHT_NORMAL);
|
||||
style->set_font (fd);
|
||||
|
Reference in New Issue
Block a user