search for: set_item_min_size

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

2007 May 05
0
[1015] trunk/wxruby2/doc/textile/sizer.txtl: Clarify that size_t should be a ruby Integer
...;cx"> </span><span class="cx"> Returns true if the child item was found and removed, false otherwise. </span><span class="cx"> </span><span class="lines">@@ -425,7 +425,7 @@ </span><span class="cx"> *set_item_min_size*(%(arg-type)Sizer% sizer, %(arg-type)Integer% width, </span><span class="cx"> %(arg-type)Integer% height) </span><span class="cx"> </span><del>- *set_item_min_size*(%(arg-type)size_t% index, %(arg-type)Integer% width,...
2007 Mar 23
0
[918] branches/wxruby2/wxwidgets_282/samples/aui/aui.rb: Fix a couple of little bugs and typos
...ot;cx"> sz.add( Wx::StaticText.new(self, Wx::ID_ANY, caption) ) </span><del>- sz.add(@cap_grad) </del><ins>+ sz.add(bmp_butt) </ins><span class="cx"> sz.add(1, 1, 1, Wx::EXPAND) </span><span class="cx"> sz.set_item_min_size(1, 180, 20) </span><span class="cx"> return bmp_butt, sz </span><span class="lines">@@ -532,7 +533,7 @@ </span><span class="cx"> evt_menu(ID_NoGradient) { | e | on_gradient(e) } </span><span class="cx">...
2007 Mar 22
0
[916] branches/wxruby2/wxwidgets_282: More Wx::AUI classes, event hooks and sample
..., 20), + Wx::SP_ARROW_KEYS, + 0, 100, metric_val) + + sz = Wx::BoxSizer.new(Wx::HORIZONTAL) + sz.add(1, 1, 1, Wx::EXPAND) + sz.add( Wx::StaticText.new(self, Wx::ID_ANY, caption) ) + sz.add(sp) + sz.add(1, 1, 1, Wx::EXPAND) + sz.set_item_min_size(1, 180, 20) + return sp, sz + end + + # utility to make a little captioned button; + # returns the button and a sizer containing the button and caption + def make_colour_button(an_id, caption) + bmp_butt = Wx::BitmapButton.new( self, an_id, @base_bmp, +...