Commit d07a2fcf authored by Simon Steinbeiss's avatar Simon Steinbeiss Committed by Sean Davis

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's avatarSean Davis <>
parent b7385291
......@@ -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);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment