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
This commit is contained in:
Robert Roebling 2005-04-13 13:46:01 +00:00
parent 671bf007dd
commit 308a5aeb9d
2 changed files with 2 additions and 2 deletions

View File

@ -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;
}

View File

@ -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;
}