18 add_css_class(
"flat");
27 Gtk::Frame::set_child(widget);
35 _label.set_markup(Glib::ustring(
"<b>") + label_text +
"</b>");
37 _label.set_text(label_text);
43 unsigned const padding_left,
unsigned const padding_right)
45 auto child = get_child();
49 child->set_margin_top(padding_top);
50 child->set_margin_bottom(padding_bottom);
51 child->set_margin_start(padding_left);
52 child->set_margin_end(padding_right);
Align
Values for the <align> parameter of preserveAspectRatio.