search for: align_left

Displaying 3 results from an estimated 3 matches for "align_left".

2004 Oct 21
0
Re: wxRuby: How to add a scrollbar to a Wx::Notebook tab
...> > @sl.each_with_index{ | line, idx | > panel = Wx::Panel.new( notebook, -1 ) > sizer = Wx::FlexGridSizer.new( 2, 0, 2 ) > panel.set_sizer sizer > > header = Wx::StaticText.new( panel, -1, line[:header] ) > sizer.add( header, 0, Wx::ALIGN_LEFT ) > sizer.add( Wx::StaticText.new( panel, -1, '''' ), 0, > Wx::ALIGN_LEFT ) > > line[:list].each { | item | > checker = Wx::CheckBox.new( panel, -1, item[0] ) > sizer.add( checker, 0, Wx::ALIGN_LEFT ) > >...
2009 Apr 19
1
FlexibleGrid column sizing
...th, and I can''t find any combination of flags that will make the the columns anything other than the width of the widest column. Most of the controls going into the grid are TextCtrls and I have specified the "maximum_size" attribute as a Size.new(x,-1) with the following flags: ALIGN_LEFT | ST_NO_AUTORESIZE. When adding the controls to the FlexGrid to "proportion" field is set to zero. And yet all the columns are the same width, the width of the widest sub-control. How can one specify a maximum column size? How does one have a FlexGrid recompute the column widths? Is...
2007 Apr 13
0
[952] branches/wxruby2/wxwidgets_282/doc/textile/gridcellattr.txtl: Doc fix from Wx 2.8
...quot;cx"> </span><span class="cx"> *set_alignment*(%(arg-type)Integer% hAlign, %(arg-type)Integer% vAlign) </span><span class="cx"> </span><del>-Sets the alignment. </del><ins>+Sets the alignment. hAlign can be one of @ALIGN_LEFT@, +@ALIGN_CENTRE@ or @ALIGN_RIGHT@ and vAlign can be one +of @ALIGN_TOP@, @ALIGN_CENTRE@ or @ALIGN_BOTTOM@. </ins><span class="cx"> </span><ins>+ </ins><span class="cx"> h3(#GridCellAttr_setreadonly). GridCellAttr#set_read_only </span>...