From: Mattia Basaglia Date: Sun, 19 Jul 2015 09:18:47 +0000 (+0200) Subject: Re-align patch texture dialog X-Git-Tag: xonotic-v0.8.1~1^2~5^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=92b301a7f2ac5fdb8eabd87a919552231e8c1f77;p=xonotic%2Fnetradiant.git Re-align patch texture dialog --- diff --git a/radiant/patchdialog.cpp b/radiant/patchdialog.cpp index f1bf09fb..73639e54 100644 --- a/radiant/patchdialog.cpp +++ b/radiant/patchdialog.cpp @@ -836,7 +836,7 @@ GtkWindow* PatchInspector::BuildDialog(){ GtkLabel* label = GTK_LABEL( gtk_label_new( "Horizontal Shift Step" ) ); gtk_widget_show( GTK_WIDGET( label ) ); gtk_table_attach( table, GTK_WIDGET( label ), 2, 4, 0, 1, - (GtkAttachOptions)( GTK_FILL ), + (GtkAttachOptions)( GTK_FILL|GTK_EXPAND ), (GtkAttachOptions)( 0 ), 0, 0 ); gtk_misc_set_alignment( GTK_MISC( label ), 0, 0.5 ); } @@ -844,7 +844,7 @@ GtkWindow* PatchInspector::BuildDialog(){ GtkLabel* label = GTK_LABEL( gtk_label_new( "Vertical Shift Step" ) ); gtk_widget_show( GTK_WIDGET( label ) ); gtk_table_attach( table, GTK_WIDGET( label ), 2, 4, 1, 2, - (GtkAttachOptions)( GTK_FILL ), + (GtkAttachOptions)( GTK_FILL|GTK_EXPAND ), (GtkAttachOptions)( 0 ), 0, 0 ); gtk_misc_set_alignment( GTK_MISC( label ), 0, 0.5 ); } @@ -852,7 +852,7 @@ GtkWindow* PatchInspector::BuildDialog(){ GtkLabel* label = GTK_LABEL( gtk_label_new( "Horizontal Stretch Step" ) ); gtk_widget_show( GTK_WIDGET( label ) ); gtk_table_attach( table, GTK_WIDGET( label ), 2, 3, 2, 3, - (GtkAttachOptions)( GTK_FILL ), + (GtkAttachOptions)( GTK_FILL|GTK_EXPAND ), (GtkAttachOptions)( 0 ), 0, 0 ); gtk_misc_set_alignment( GTK_MISC( label ), 0, 0.5 ); } @@ -869,7 +869,7 @@ GtkWindow* PatchInspector::BuildDialog(){ GtkLabel* label = GTK_LABEL( gtk_label_new( "Vertical Stretch Step" ) ); gtk_widget_show( GTK_WIDGET( label ) ); gtk_table_attach( table, GTK_WIDGET( label ), 2, 3, 3, 4, - (GtkAttachOptions)( GTK_FILL ), + (GtkAttachOptions)( GTK_FILL|GTK_EXPAND ), (GtkAttachOptions)( 0 ), 0, 0 ); gtk_misc_set_alignment( GTK_MISC( label ), 0, 0.5 ); } @@ -886,7 +886,7 @@ GtkWindow* PatchInspector::BuildDialog(){ GtkLabel* label = GTK_LABEL( gtk_label_new( "Rotate Step" ) ); gtk_widget_show( GTK_WIDGET( label ) ); gtk_table_attach( table, GTK_WIDGET( label ), 2, 4, 4, 5, - (GtkAttachOptions)( GTK_FILL ), + (GtkAttachOptions)( GTK_FILL|GTK_EXPAND ), (GtkAttachOptions)( 0 ), 0, 0 ); gtk_misc_set_alignment( GTK_MISC( label ), 0, 0.5 ); }