Initial commit for real hidpi support
Note: This commit has only been tested on MacOS Changes: - Icons now use the native hidpi support from Gtk (through Icon Theme) - Icons are now directly generated from scalable file (i.e. SVG file) - Widget sizes are scaled based on DPI and scale factor - Font size is scaled based on DPI and scale factor
This commit is contained in:
@@ -138,7 +138,7 @@ FilterPanel::FilterPanel () : listener (nullptr)
|
||||
// add panel ending
|
||||
Gtk::Box* vboxpe = Gtk::manage (new Gtk::Box(Gtk::ORIENTATION_VERTICAL));
|
||||
Gtk::Separator* hseptpe = Gtk::manage (new Gtk::Separator(Gtk::ORIENTATION_HORIZONTAL));
|
||||
Gtk::Image* peImg = Gtk::manage (new RTImage("ornament1.png"));
|
||||
Gtk::Image* peImg = Gtk::manage (new RTImage("ornament1"));
|
||||
vboxpe->pack_start(*hseptpe, Gtk::PACK_SHRINK, 4);
|
||||
vboxpe->pack_start(*peImg);
|
||||
pack_start(*vboxpe, Gtk::PACK_SHRINK, 0);
|
||||
|
Reference in New Issue
Block a user