Implemented a possibility to set a custom toolbars icon size (related to #2247 and same others)

This commit is contained in:
YuSanka 2019-05-22 13:51:02 +02:00
parent fb6ae5296e
commit d845966cbb
7 changed files with 112 additions and 16 deletions

View file

@ -16,6 +16,7 @@ class PreferencesDialog : public DPIDialog
{
std::map<std::string, std::string> m_values;
std::shared_ptr<ConfigOptionsGroup> m_optgroup;
wxSizer* m_icon_size_sizer;
public:
PreferencesDialog(wxWindow* parent);
~PreferencesDialog() {}
@ -25,6 +26,8 @@ public:
protected:
void on_dpi_changed(const wxRect &suggested_rect) override;
void layout();
void create_icon_size_slider();
};
} // GUI