search for: align_right

Displaying 7 results from an estimated 7 matches for "align_right".

2004 Jun 19
4
FlexGridSizer question
...ialog < 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::ALIGN_RIGHT, 5)...
2004 May 24
9
Combo Box
...md = d.match(/(.:).* => .*\\(.*)/) "#{md.captures[0]} (#{md.captures[1] })" } @drives_box = ComboBox.new(self, ID_DRIVES_BOX, "", DEFAULT_POSITION, DEFAULT_SIZE, drives) @drives_box.set_selection(0) dlgSizer.add(@drives_box, 1, ALIGN_RIGHT | ALL, 3) evt_combobox(ID_DRIVES_BOX) {on_cmbx_change} @btn_test_cmbx = Button.new(self, ID_BTN1, "Test ComboBox") evt_button(ID_BTN1) { on_cmbx_change } dlgSizer.add(@btn_test_cmbx, 1, ALIGN_RIGHT | ALL, 3) dlgSizer.add(@fileList) dlgSiz...
2004 Jul 20
4
New Tutorial
There is a new Tutorial wiki page for installing wxRuby on various systems. Comments? Nick
2004 Jun 02
13
wxGrid Question
When operating with a wxGrid is there a way to get a reference to the TextCtrl field that is created when you start typing in a cell. Also is there a way to get mouse events to work with a wxGrid, so far I can''t get any of them to work. I had tried various combo''s of: @grid.evt_left_down(){ |event| puts "Left mouse is down"; } using evt_left_down, evt_left_up,
2007 Apr 13
0
[952] branches/wxruby2/wxwidgets_282/doc/textile/gridcellattr.txtl: Doc fix from Wx 2.8
...t;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><span class="cx">...
2006 Dec 03
0
[778] trunk/wxruby2: Remove broken and deprecated LayoutConstraints, update samples & docs
...quot;cx"> @m_label = StaticText.new(panel, -1, "Label with some long text", </span><span class="cx"> Point.new(250, 60), DEFAULT_SIZE, </span><span class="cx"> ALIGN_RIGHT) </span><span class="lines">@@ -421,31 +396,6 @@ </span><span class="cx"> </span><span class="cx"> @m_notebook.add_page(panel, "BitmapXXX") </span><span class="cx"> </span><del>-...
2004 Aug 19
28
Documents, Views and DocManagers
Hi, Are there any effort in making wxDocument, wxView, etc types of classes avaiable under wxRuby? For supporting SDI/MDI architecture. Cheers, Phuah Yee Keat