From 0c23a9f435dd9c9d53bf698bc4dbd6ef47c53b93 Mon Sep 17 00:00:00 2001 From: John Stebbins Date: Mon, 12 Jun 2017 16:54:13 -0700 Subject: LinGui: Allow resizing window smaller Make widget geometry changes that allow the window to be sized smaller. Minimum size with Fedora's default Adwaita theme is 1080x698. Other themes will vary in size. --- gtk/src/ghb.m4 | 64 +++++++++++++++++++++++++--------------------------------- gtk/src/main.c | 5 +++++ 2 files changed, 33 insertions(+), 36 deletions(-) (limited to 'gtk') diff --git a/gtk/src/ghb.m4 b/gtk/src/ghb.m4 index 74ab62bed..736ce9e1b 100644 --- a/gtk/src/ghb.m4 +++ b/gtk/src/ghb.m4 @@ -2204,7 +2204,7 @@ This allows a player to initiate playback before downloading the entire file.

0 0 - 2 + 4 1 @@ -2226,13 +2226,13 @@ the required multiple. 1 0 - 2 + 4 1 - 7 + 6 True True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK @@ -2245,13 +2245,13 @@ the required multiple. 2 0 - 1 + 6 1 - 7 + 6 True True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK @@ -2263,14 +2263,14 @@ the required multiple. 1 - 1 - 1 + 5 + 6 1 - 7 + 6 True True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK @@ -2282,14 +2282,14 @@ the required multiple. 3 - 1 - 1 + 5 + 6 1 - 7 + 6 True True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK @@ -2301,8 +2301,8 @@ the required multiple. 2 - 2 - 1 + 10 + 6 1 @@ -2317,7 +2317,7 @@ the required multiple. 5 0 - 1 + 4 1 @@ -2331,8 +2331,8 @@ the required multiple. 5 - 1 - 1 + 4 + 4 1 @@ -2419,7 +2419,7 @@ This will be the resolution that most closely matches the source resolution afte - 7 + 6 True True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK @@ -2454,7 +2454,7 @@ The actual display dimensions will differ if the pixel aspect ratio is not 1:1.< - 7 + 6 True True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK @@ -2643,7 +2643,7 @@ You should use 2 unless you experience compatibility issues. - 7 + 6 True True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK @@ -2677,7 +2677,7 @@ You should use 2 unless you experience compatibility issues. - 7 + 6 True True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK @@ -2725,7 +2725,7 @@ You should use 2 unless you experience compatibility issues. - 8 + 6 True True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK @@ -2762,7 +2762,7 @@ Players will scale the image in order to achieve the specified aspect. - 8 + 6 True True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK @@ -3164,8 +3164,8 @@ If your source exhibits 'blockiness', this filter may help clean it up. - 1 - 0 + 0 + 3 1 1 @@ -3302,7 +3302,7 @@ SpatialLuma:SpatialChroma:TemporalLuma:TemporalChroma ifelse(eval(gtk_version < 312), 1, filter_output([ 1 - 1 + 0 1 1 @@ -3436,7 +3436,7 @@ SpatialLuma:SpatialChroma:TemporalLuma:TemporalChroma ifelse(eval(gtk_version < 312), 1, filter_output([ 1 - 2 + 1 1 1 @@ -3487,7 +3487,7 @@ filter_output([ ifelse(eval(gtk_version < 312), 1, filter_output([ 1 - 3 + 2 1 1 @@ -3511,7 +3511,7 @@ filter_output([ ifelse(eval(gtk_version < 312), 1, filter_output([ 1 - 4 + 3 1 1 @@ -6384,12 +6384,6 @@ no-fast-pskip=0:no-dct-decimate=0:cabac=1 0 - - - - - - False @@ -6897,8 +6891,6 @@ This file may be reloaded at a later time to edit your jobs and re-encode.GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - 900 - 300 True True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK diff --git a/gtk/src/main.c b/gtk/src/main.c index 9ec6e3137..57a96645d 100644 --- a/gtk/src/main.c +++ b/gtk/src/main.c @@ -793,6 +793,11 @@ const gchar *MyCSS = background: @black; \n\ background-color: @gray32; \n\ color: @white; \n\ +} \n\ + \n\ +stackswitcher button.text-button \n\ +{ \n\ + min-width: 50px; \n\ } \n\ " #if GTK_CHECK_VERSION(3, 16, 0) -- cgit v1.2.3