From d258ef6275c34a9705b99e3cad2e8952a20e2561 Mon Sep 17 00:00:00 2001 From: Jonathan Li Date: Tue, 7 Aug 2018 23:56:26 +0100 Subject: [PATCH] gsdx:gtk: Improve dialog for small screen resolutions Makes all the tabs scrollable, which makes the dialog more usable (the OK button should always be present unless the screen is absurdly small). Only checked on GTK3. --- plugins/GSdx/GSLinuxDialog.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/GSdx/GSLinuxDialog.cpp b/plugins/GSdx/GSLinuxDialog.cpp index 957d06b1f1..b6596aeb2b 100644 --- a/plugins/GSdx/GSLinuxDialog.cpp +++ b/plugins/GSdx/GSLinuxDialog.cpp @@ -628,9 +628,9 @@ bool RunLinuxDialog() // Handle some nice tab GtkWidget* notebook = gtk_notebook_new(); - gtk_notebook_append_page(GTK_NOTEBOOK(notebook), central_box , gtk_label_new("Renderer Settings")); - gtk_notebook_append_page(GTK_NOTEBOOK(notebook), advanced_box, gtk_label_new("Advanced Settings")); - gtk_notebook_append_page(GTK_NOTEBOOK(notebook), debug_box , gtk_label_new("Debug/Recording")); + gtk_notebook_append_page(GTK_NOTEBOOK(notebook), ScrollMe(central_box), gtk_label_new("Renderer Settings")); + gtk_notebook_append_page(GTK_NOTEBOOK(notebook), ScrollMe(advanced_box), gtk_label_new("Advanced Settings")); + gtk_notebook_append_page(GTK_NOTEBOOK(notebook), ScrollMe(debug_box), gtk_label_new("Debug/Recording")); gtk_notebook_append_page(GTK_NOTEBOOK(notebook), ScrollMe(osd_box), gtk_label_new("Post-Processing/OSD")); // Put everything in the big box.