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:
@@ -37,7 +37,7 @@ FlatField::FlatField () : FoldableToolPanel(this, "flatfield", M("TP_FLATFIELD_L
|
||||
bindCurrentFolder (*flatFieldFile, options.lastFlatfieldDir);
|
||||
ffLabel = Gtk::manage(new Gtk::Label(M("GENERAL_FILE")));
|
||||
flatFieldFileReset = Gtk::manage(new Gtk::Button());
|
||||
flatFieldFileReset->set_image (*Gtk::manage(new RTImage ("cancel-small.png")));
|
||||
flatFieldFileReset->set_image (*Gtk::manage(new RTImage ("cancel-small", Gtk::ICON_SIZE_BUTTON)));
|
||||
hbff->pack_start(*ffLabel, Gtk::PACK_SHRINK);
|
||||
hbff->pack_start(*flatFieldFile);
|
||||
hbff->pack_start(*flatFieldFileReset, Gtk::PACK_SHRINK);
|
||||
|
Reference in New Issue
Block a user