From: Thomas Debesse Date: Sat, 4 Apr 2020 02:26:15 +0000 (+0200) Subject: radiant/about: rework layout X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=c06226fad2ca295efc325f675a53c6374999e949;p=xonotic%2Fnetradiant.git radiant/about: rework layout --- diff --git a/radiant/gtkdlgs.cpp b/radiant/gtkdlgs.cpp index 10c4c7e3..69efc9f5 100644 --- a/radiant/gtkdlgs.cpp +++ b/radiant/gtkdlgs.cpp @@ -436,7 +436,7 @@ void DoAbout(){ { auto vbox2 = create_dialog_vbox( 4 ); - hbox.pack_start( vbox2, TRUE, FALSE, 0 ); + hbox.pack_start( vbox2, FALSE, FALSE, 5 ); { auto frame = create_dialog_frame( 0, ui::Shadow::IN ); vbox2.pack_start( frame, FALSE, FALSE, 0 ); @@ -468,14 +468,14 @@ void DoAbout(){ gtk_label_set_use_markup( GTK_LABEL( label ), true ); label.show(); - hbox.pack_start( label, FALSE, FALSE, 0 ); - gtk_misc_set_alignment( GTK_MISC( label ), 1, 0.5 ); + hbox.pack_start( label, TRUE, TRUE, 0 ); + gtk_misc_set_alignment( GTK_MISC( label ), 0, 0 ); gtk_label_set_justify( label, GTK_JUSTIFY_LEFT ); } { auto vbox2 = create_dialog_vbox( 4 ); - hbox.pack_start( vbox2, FALSE, TRUE, 0 ); + hbox.pack_start( vbox2, TRUE, TRUE, 0 ); { auto button = create_modal_dialog_button( "OK", ok_button ); vbox2.pack_start( button, FALSE, FALSE, 0 );