search for: boxsizers

Displaying 20 results from an estimated 70 matches for "boxsizers".

Did you mean: boxsizer
2007 Jan 06
0
[840] trunk/wxruby2/doc/textile/boxsizer.txtl: Add methods listing, remove one bad link and not-for-user method descriptions
...will most often be laid out in rather -simple basic geometry, typically in a row or a column or several hierarchies of either. </del><ins>+Theidea behind a box sizer is that windows will most often be laid out +in rather simple basic geometry, a row or a column, or hierarchies of +both. BoxSizers arrange their contents as either a column or a row, and +may be nested to create sophisticated resizeable layouts. </ins><span class="cx"> </span><del>-For more information, please see "Programming with BoxSizer":boxsizerprogramming.html. - </del>&...
2004 Sep 15
2
efficient submatrix extraction
Hi, I have a matrix of say 1024x1024 and I want to look at it in chunks. That is I'd like to divide into a series of submatrices of order 2x2. | 1 2 3 4 5 6 7 8 ... | | 1 2 3 4 5 6 7 8 ... | | 1 2 3 4 5 6 7 8 ... | | 1 2 3 4 5 6 7 8 ... | ... So the first submatrix would be | 1 2 | | 1 2 | the second one would be | 3 4 | | 3 4 | and so on. That is I want the matrix to be evenly divided
2009 Dec 12
4
grid et boxsizer
Bonjour. Une fois mon application ouverte, je voudrais savoir, si cela est possible, comment dimensionner automatiquement la totalité des colonnes du grid à la taille de mon boxsizer, quand je change la taille de mon application? (puique mon grid est inséré dans mon boxsizer). merci
2008 May 11
4
Choosing a Sizer
Following alex advices, i''ve used both "text/textctrl.rb" and "etc/threaded.rb" to build my first wxApp. I''ve changed the Sizer type mainly (from "Wx::BoxSizer" to "Wx::FlexGridSizer"). I didn''t find the way to let @log (Wx::TextCtrl) span 2 columns. At the time of writing it''s growing only vertically. And also how to get
2007 Jan 22
4
Adding sizers to other sizers doesn''t work
Hello all, Running this on an Intel Mac OSX 10.4.8 ruby 1.8.4 (2005-12-24) [i686-darwin] wxruby2-preview (0.0.37) using zshell I''m having a heck of a time setting up a GUI with a differing number of widgets per row, resulting in a differing number or widgets per column. At first I tried to simply do something like the following: class CharacterInfoPanel < Wx::Panel def
2006 Feb 19
2
sizer support for colspan > 1?
I see that GridBagSizer is not yet supported by wxRuby. Is there an alternative to specifying that a widget spans more than one column? I don''t see a way to do that in FlexGridSizer. -- R. Mark Volkmann Partner, Object Computing, Inc.
2006 Apr 23
5
Re: StaticBoxSizer bug?
Daniel, Thanks for the sample code. Sizers do appear to have a problem and it''s on the list to take a look at. I''m currently reworking several classes and trying to fix some of the big compatibility bugs. I will test your code with my latest builds but I don''t think I''ve gotten to the sizers yet. Roy Daniel F. Savarese wrote: > I''ve run into
2007 Dec 28
4
static box sizing problems
Hi, I tried this one over on the main wx-users list as well, but thought I would try it here since I am using wxRuby: I am using wxWidgets 2.8.7 on a linux box using the GTK build. I have pared down my issue to the simplest case: I am trying to use a horizontal BoxSizer to split a frame into two sections: a left and right side. I want the left side to stretch proportionally and I want the
2007 Dec 28
4
wxSizerItem show() method
It appears from the wx 2.8.7 documentation that a wxSizerItem has a show() method. But when I try to invoke it through wxruby, I get: tasks.rb:56:in `do_btn3'': undefined method `show'' for #<SWIG::TYPE_p_wxSizerItem:0xb5eedf44> (NoMethodError) Is this just something that hasn''t been added because people don''t manipulate wxSizerItems much, or is it
2008 Sep 27
3
Problems with ToolBar Sintaxis
First of all, it''s my first week learnig ruby and so is for wxruby,also this is my first time working with a GUI so please, please, be patient. I''m having problems with the code for a toolbar, i want to add an item, but a don''t know how. this is my code for now: @toolBarPrincipal=ToolBar.new(@panel) @toolBarPrincipal.add_tool(-1, ''&Bonzai'',
2007 Feb 19
2
Sizer question
First, Thank you, thank you, thank you for those who put wxRuby together. I''m thrilled to be able to write GUI code in Ruby! I''m hitting some confusion about how Sizers work. I''ve read the tutorials and the section in the wxWidgets book but I still can''t seem to figure this out. Here''s an example of my code: parent = Wx::Panel.new(frame, -1,
2004 Apr 21
2
Resizing a ListCtrl
Hi Guys, I''m having serious troubles resizing a dialog with a ListCtrl. The ctrl will not resize horizontally no matter what I''m doing. I''ve attached a sample code below. Any help will be greatly appreciated, as I really like wxRuby :) I''ve also tried to copy from the example from listtest.rbw, but that also doesn''t seem to work. Another thing
2007 May 28
0
[1033] trunk/wxruby2/swig: GC fixes for nested sizers; fix crashes in html.rb demo
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding:
2004 May 13
2
A Sizer Tutorial
Hi I''ve added a very basic introduction to using the BoxSizer class for layout in WxRuby to the wiki. Corrections, comments welcome. http://wxruby.rubyforge.org/wiki/wiki.pl?Using_Sizers_For_Layout alex
2006 Aug 24
1
metaplot and meta.summaries
Hello, After looking through the archive and documentation for quite some time, I'd be very happy about some help with metaplot and meta.summaries. metaplot: --------- Can I change the label size? I've got 126 values and the intersection of the labels makes it impossible to read them. Why do I have to give sumse (Standard Error) and sumnn (Precision) of the summary estimate? I can
2006 Aug 24
5
TreeCtrl background?
On my windows build, I just noticed that the background of my TextCtrl''s is grey by default, and when I try to set the default style I get the error: TestTextCtrl.rb:15:in `set_default_style'': undefined method `'' for #<Wxruby2::TextCtrl:0x360a0c4> (NoMethodError) from TestTextCtrl.rb:15:in `initialize'' from TestTextCtrl.rb:24:in
2004 May 22
4
couple of questions
Hi folks A couple of questions: 1) I seem to get funny artifacts in the display of TreeCtrl, ComboBox and ListBox when the MDI child frame containing it is first painted (see attached - it should be two-root treeview, unopened). I''m not sure if it''s related to being in a MDI, but the controls sample looks OK. The artifacts are cleared up when it''s repainted or
2005 May 03
4
Wx::HtmlWindow.on_link_clicked
Hello, wxruby-users. This is an addition which implement wrapper for overloading wxHtmlWindow::OnLinkClicked method. Unfortunately, it was impossible to make it correctly without ugly hack to wxpp.rb, but i`m hope it does not broke it. Please look at attachment for a patch for htmlwindow.t and wxpp.rb and additional file htmllinkinfo.t (need to be added to $objs array in extconf.rb). Sample
2009 Mar 23
3
How to put a background image on a panel
Well I''ve made a lot of progress on my app, but I''m stuck on figuring out how to add a bitmap. I have a notebook and a page panel. On this panel I want to put a backdrop image and scale it to the size of the panel. How do I do this? I looked at some of the samples related to bitmaps and I could not see how to apply that to my situation. Thanks, T.
2004 Nov 22
1
Layout Issue ...
The following program represents the basic layout of my application. The problem I have is that the panel, and thus, the grid does not resize when the window width is expanded. Also, I would like the entire grid to be displayed without the horizontal scroll bar. How can I force this behavior? Please tell me if I am going about this incorrectly. I am just getting familar with wxRuby and any