From c06226fad2ca295efc325f675a53c6374999e949 Mon Sep 17 00:00:00 2001 From: Thomas Debesse Date: Sat, 4 Apr 2020 04:26:15 +0200 Subject: [PATCH] radiant/about: rework layout --- radiant/gtkdlgs.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 ); -- 2.39.2