[Xfce4-commits] [xfce/xfce4-settings] 01/01: settings-manager: Make sure content determines size
This is an automated email from the git hooks/post-receive script. b l u e s a b r e p u s h e d a c o m m i t t o b r a n c h x f c e - 4 . 1 4 in repository xfce/xfce4-settings. commit d07a2fcf648c5e636c94cb12ed035fdf6429a030 Author: Simon Steinbeiss Date: Sat Apr 11 10:53:23 2020 +0200 settings-manager: Make sure content determines size Previously the window could be horizontally resized which would cut off window content and insert a horizontal scrollbar. This is not the case in any of our standalone settings dialogs and causes usability issues. Therefore we now disable this scrollbar policy setting. Signed-off-by: Sean Davis --- xfce4-settings-manager/xfce-settings-manager-dialog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xfce4-settings-manager/xfce-settings-manager-dialog.c b/xfce4-settings-manager/xfce-settings-manager-dialog.c index 3dd2cf3..3ff7a1f 100644 --- a/xfce4-settings-manager/xfce-settings-manager-dialog.c +++ b/xfce4-settings-manager/xfce-settings-manager-dialog.c @@ -329,7 +329,7 @@ xfce_settings_manager_dialog_init (XfceSettingsManagerDialog *dialog) /* pluggable dialog scrolled window and viewport */ dialog->socket_scroll = scroll = gtk_scrolled_window_new (NULL, NULL); gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scroll), GTK_SHADOW_NONE); -gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scroll), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); +gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scroll), GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC); gtk_box_pack_start (GTK_BOX (dialog_vbox), scroll, TRUE, TRUE, 0); gtk_container_set_border_width (GTK_CONTAINER (scroll), 0); -- To stop receiving notification emails like this one, please contact the administrator of this repository. ___ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits
[Xfce4-commits] [xfce/xfce4-settings] 01/01: settings-manager: Make sure content determines size
This is an automated email from the git hooks/post-receive script. o c h o s i p u s h e d a c o m m i t t o b r a n c h m a s t e r in repository xfce/xfce4-settings. commit 6197435550bf2de2737e067ded0d4751f9041716 Author: Simon Steinbeiss Date: Sat Apr 11 10:53:23 2020 +0200 settings-manager: Make sure content determines size Previously the window could be horizontally resized which would cut off window content and insert a horizontal scrollbar. This is not the case in any of our standalone settings dialogs and causes usability issues. Therefore we now disable this scrollbar policy setting. --- xfce4-settings-manager/xfce-settings-manager-dialog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xfce4-settings-manager/xfce-settings-manager-dialog.c b/xfce4-settings-manager/xfce-settings-manager-dialog.c index 889c9a6..38314d1 100644 --- a/xfce4-settings-manager/xfce-settings-manager-dialog.c +++ b/xfce4-settings-manager/xfce-settings-manager-dialog.c @@ -301,7 +301,7 @@ xfce_settings_manager_dialog_init (XfceSettingsManagerDialog *dialog) /* pluggable dialog scrolled window and viewport */ dialog->socket_scroll = scroll = gtk_scrolled_window_new (NULL, NULL); gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scroll), GTK_SHADOW_NONE); -gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scroll), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); +gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scroll), GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC); gtk_box_pack_start (GTK_BOX (dialog_vbox), scroll, TRUE, TRUE, 0); gtk_container_set_border_width (GTK_CONTAINER (scroll), 0); -- To stop receiving notification emails like this one, please contact the administrator of this repository. ___ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits