Prefs Dialog: consistent headings, spacing, reduce width,..

This commit is contained in:
Robin Gareus 2016-12-28 20:03:37 +01:00
parent 9b9cb4beaa
commit f2e00dfe07
5 changed files with 77 additions and 28 deletions

View file

@ -115,15 +115,21 @@ public:
void parameter_changed (std::string const &) = 0;
void set_state_from_config () = 0;
void add_to_page (OptionEditorPage *);
virtual void add_to_page (OptionEditorPage *);
Gtk::Widget& tip_widget() { return *_box->children().front().get_widget(); }
Gtk::Widget& tip_widget() { return *_box->children().front().get_widget(); }
protected:
Gtk::VBox* _box; ///< constituent box for subclasses to add widgets to
};
class OptionEditorPageBox : public OptionEditorBox
{
public:
virtual void add_to_page (OptionEditorPage *);
};
class RcConfigDisplay : public OptionEditorComponent
{
public: