Histogram and Navigator now handle Hi-DPI.
+ widgets are now sized depending on Hi-DPI see issue #3547
This commit is contained in:
@@ -905,14 +905,14 @@ Gtk::SizeRequestMode ThumbBrowserBase::Internal::get_request_mode_vfunc () const
|
||||
|
||||
void ThumbBrowserBase::Internal::get_preferred_height_vfunc (int &minimum_height, int &natural_height) const
|
||||
{
|
||||
minimum_height = 20;
|
||||
natural_height = 80;
|
||||
minimum_height = 20 * RTScalable::getScale();
|
||||
natural_height = 80 * RTScalable::getScale();
|
||||
}
|
||||
|
||||
void ThumbBrowserBase::Internal::get_preferred_width_vfunc (int &minimum_width, int &natural_width) const
|
||||
{
|
||||
minimum_width = 200;
|
||||
natural_width = 1000;
|
||||
minimum_width = 200 * RTScalable::getScale();
|
||||
natural_width = 1000 * RTScalable::getScale();
|
||||
}
|
||||
|
||||
void ThumbBrowserBase::Internal::get_preferred_height_for_width_vfunc (int width, int &minimum_height, int &natural_height) const
|
||||
|
Reference in New Issue
Block a user