Displaying 1 result from an estimated 1 matches for "align_centre_vertical".
Did you mean:
align_center_vertical
2004 Jun 19
4
FlexGridSizer question
...AL, Wx::NORMAL)
class MyDialog < Wx::Dialog
def initialize(parent)
super( parent, -1, ''FlexGridSizer'')
sizer = Wx::FlexGridSizer.new(4,2,0,5)
week = Wx::StaticText.new(self, -1, ''Week'')
week.set_font(ROMAN_10B)
sizer.add(week,0, Wx::ALIGN_CENTRE_VERTICAL|Wx::ALIGN_RIGHT, 10)
@week = Wx::TextCtrl.new(self, -1, ''week'')
@week.set_font(ROMAN_12)
sizer.add(@week, 0, Wx::ALL, 5)
day = Wx::StaticText.new(self, -1, ''Day'')
day.set_font(ROMAN_10B)
sizer.add(day, 0, Wx::ALIGN_CENTRE_VERTICAL|Wx::ALI...