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:
@@ -38,7 +38,7 @@ DarkFrame::DarkFrame () : FoldableToolPanel(this, "darkframe", M("TP_DARKFRAME_L
|
||||
bindCurrentFolder (*darkFrameFile, options.lastDarkframeDir);
|
||||
dfLabel = Gtk::manage(new Gtk::Label(M("GENERAL_FILE")));
|
||||
btnReset = Gtk::manage(new Gtk::Button());
|
||||
btnReset->set_image (*Gtk::manage(new RTImage ("cancel-small.png")));
|
||||
btnReset->set_image (*Gtk::manage(new RTImage ("cancel-small", Gtk::ICON_SIZE_BUTTON)));
|
||||
hbdf->pack_start(*dfLabel, Gtk::PACK_SHRINK, 0);
|
||||
hbdf->pack_start(*darkFrameFile);
|
||||
hbdf->pack_start(*btnReset, Gtk::PACK_SHRINK, 0);
|
||||
|
Reference in New Issue
Block a user