diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-11-18 02:01:54 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-11-18 02:01:54 +0100 |
commit | a1d5d13625f1c0f7e920053389da22cf4a460a92 (patch) | |
tree | 2ba84f7da386be05a8b109e82300d18c7912b61e | |
parent | 00dca02d36354d642bb51d3966039101331aa6d9 (diff) |
Better scrolled window resizing
-rw-r--r-- | src/main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.cpp b/src/main.cpp index 8ed2caf..6d63a1d 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2749,9 +2749,9 @@ static GtkWidget* create_common_settings_page(GtkStack *stack, GtkApplication *a g_signal_connect(view_combo_box, "changed", G_CALLBACK(view_combo_box_change_callback), view_combo_box); GtkScrolledWindow *scrolled_window = GTK_SCROLLED_WINDOW(gtk_scrolled_window_new(NULL, NULL)); - gtk_scrolled_window_set_min_content_width(scrolled_window, 650); - gtk_scrolled_window_set_min_content_height(scrolled_window, 300); - gtk_scrolled_window_set_max_content_width(scrolled_window, 650); + gtk_scrolled_window_set_min_content_width(scrolled_window, 100); + gtk_scrolled_window_set_min_content_height(scrolled_window, 100); + gtk_scrolled_window_set_max_content_width(scrolled_window, 1280); gtk_scrolled_window_set_max_content_height(scrolled_window, 800); gtk_scrolled_window_set_propagate_natural_width(scrolled_window, true); gtk_scrolled_window_set_propagate_natural_height(scrolled_window, true); |