From 308a5aeb9ddebefd6c28e1bbb8b198dccc12a8c4 Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Wed, 13 Apr 2005 13:46:01 +0000 Subject: [PATCH] Correct vertical alignment for lables in static boxes. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/statbox.cpp | 2 +- src/gtk1/statbox.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gtk/statbox.cpp b/src/gtk/statbox.cpp index d057ebbd4c..5b09be49d1 100644 --- a/src/gtk/statbox.cpp +++ b/src/gtk/statbox.cpp @@ -78,7 +78,7 @@ bool wxStaticBox::Create( wxWindow *parent, xalign = 0.0; if ( xalign ) - gtk_frame_set_label_align(GTK_FRAME( m_widget ), xalign, 0.0); + gtk_frame_set_label_align(GTK_FRAME( m_widget ), xalign, 0.5); return TRUE; } diff --git a/src/gtk1/statbox.cpp b/src/gtk1/statbox.cpp index d057ebbd4c..5b09be49d1 100644 --- a/src/gtk1/statbox.cpp +++ b/src/gtk1/statbox.cpp @@ -78,7 +78,7 @@ bool wxStaticBox::Create( wxWindow *parent, xalign = 0.0; if ( xalign ) - gtk_frame_set_label_align(GTK_FRAME( m_widget ), xalign, 0.0); + gtk_frame_set_label_align(GTK_FRAME( m_widget ), xalign, 0.5); return TRUE; } -- 2.45.2