Bring back bold font in section title
This commit is contained in:
@@ -23,12 +23,8 @@ using namespace rtengine::procparams;
|
||||
|
||||
FoldableToolPanel::FoldableToolPanel(Gtk::Box* content) : ToolPanel(), parentContainer(NULL), exp(NULL) {
|
||||
|
||||
// Gtk::Expander* exp = new Gtk::Expander ();
|
||||
// exp->set_label_widget (*(new ILabel (Glib::ustring("<b>") + label + "</b>")));
|
||||
exp = Gtk::manage (new Gtk::Expander ());
|
||||
exp->set_border_width (4);
|
||||
//Glib::RefPtr<Gtk::Style> *style = new Gtk::Style();
|
||||
//exp->set_style()
|
||||
exp->set_use_markup (true);
|
||||
exp->signal_button_release_event().connect_notify( sigc::mem_fun(this, &FoldableToolPanel::foldThemAll) );
|
||||
|
||||
|
@@ -74,7 +74,7 @@ class FoldableToolPanel : public ToolPanel {
|
||||
|
||||
void setParent (Gtk::Box* parent) { parentContainer = parent; }
|
||||
Gtk::Box* getParent () { return parentContainer; }
|
||||
void setLabel (Glib::ustring label) { exp->set_label(label); }
|
||||
void setLabel (Glib::ustring label) { exp->set_label(Glib::ustring("<b>") + label + Glib::ustring("</b>")); }
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user