mirror of https://github.com/GNOME/gimp.git
dialogs: Improve Welcome Dialog height on small screens
This patch makes the first page of the Welcome Dialog scrollable vertically. This should help reduce the screen height for users with smaller screen sizes.
This commit is contained in:
parent
5891854fa6
commit
766e7325ff
|
@ -236,6 +236,11 @@ welcome_dialog_new (Gimp *gimp,
|
|||
gtk_widget_set_margin_start (main_vbox, 0);
|
||||
gtk_widget_set_margin_end (main_vbox, 0);
|
||||
|
||||
/* Make the first page scrollable to prevent height issues on
|
||||
* smaller screens */
|
||||
gimp_prefs_box_set_page_scrollable (GIMP_PREFS_BOX (prefs_box),
|
||||
main_vbox, TRUE);
|
||||
|
||||
welcome_dialog_create_welcome_page (gimp, dialog, main_vbox);
|
||||
gtk_widget_set_visible (main_vbox, TRUE);
|
||||
|
||||
|
|
Loading…
Reference in New Issue