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:
parent
671bf007dd
commit
308a5aeb9d
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user