summaryrefslogtreecommitdiffstats
path: root/gtk/src
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2014-05-15 16:53:47 +0000
committerjstebbins <[email protected]>2014-05-15 16:53:47 +0000
commit4274a3ea62219e35eeafc525bbb84e25bfb63615 (patch)
tree6fca95365a210ddcfb3d0dbf7b50ed600f068d7c /gtk/src
parentc2ec2ce8b0f1a79a2204f608f06e7309f2306c0e (diff)
LinGui: make the StackSwitcher fill the available width
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6195 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src')
-rw-r--r--gtk/src/ghb.ui4
-rw-r--r--gtk/src/main.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/gtk/src/ghb.ui b/gtk/src/ghb.ui
index 5f9625fff..e232a0b10 100644
--- a/gtk/src/ghb.ui
+++ b/gtk/src/ghb.ui
@@ -1537,8 +1537,8 @@ This allows a player to initiate playback before downloading the entire file.</p
<property name="can_focus">False</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
<property name="stack">SettingsStack</property>
- <property name="hexpand">False</property>
- <property name="halign">GTK_ALIGN_CENTER</property>
+ <property name="hexpand">True</property>
+ <property name="halign">GTK_ALIGN_FILL</property>
<property name="margin-left">12</property>
<property name="margin-right">12</property>
</object>
diff --git a/gtk/src/main.c b/gtk/src/main.c
index e180b1986..e7eaf8f6a 100644
--- a/gtk/src/main.c
+++ b/gtk/src/main.c
@@ -1221,6 +1221,8 @@ main(int argc, char *argv[])
{
GtkWidget *widget = link->data;
gtk_widget_set_size_request(widget, -1, -1);
+ gtk_widget_set_hexpand(widget, TRUE);
+ gtk_widget_set_halign(widget, GTK_ALIGN_FILL);
link = link->next;
}
g_list_free(stack_switcher_children);