similar to: LayoutConstraints upgrade path

Displaying 20 results from an estimated 1200 matches similar to: "LayoutConstraints upgrade path"

2006 Dec 03
0
[778] trunk/wxruby2: Remove broken and deprecated LayoutConstraints, update samples & docs
<!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:
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.
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
2005 Sep 13
1
LayoutConstraints
LayoutConstraint examples don''t seem to be working currently. Given that they''re deprecated, do we want to just remove the class and give up on debugging it?
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 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,
2003 Oct 20
5
wxruby - ruby-gtk2
Hi! Can anybody tell me basic differences using wxwindows and gtk2 GUI with ruby? Gergo -- +-[ Kontra, Gergely<kgergely@mcl.hu> PhD student Room IB113 ]---------+ | http://www.mcl.hu/~kgergely "Olyan langesz vagyok, hogy | | Mobil:(+36 20) 356 9656 ICQ: 175564914 poroltoval kellene jarnom" | +-- Magyar php mirror es magyar php dokumentacio: http://hu.php.net --+
2005 Aug 15
16
swig_up
Tracing down some things to add in validators and I''ve run across something that kinda bothers me... In order to implement validators you have to override the clone method. The directors seems to be set up to specifically handle this situation. However, whenever C++ calls back to the object''s methods the swig_get_up function is returning false. It seems like swig_up
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
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
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
2005 Aug 08
3
[Fwd: Re: FXRuby or wxRuby?]
This was just posted on ruby-talk. I''d hate to let this go without any rebuttal or explanation. Can someone (more qualified than me) please compose a response? Thanks, Curt -------- Original Message -------- Subject: Re: FXRuby or wxRuby? Date: Mon, 8 Aug 2005 23:20:24 +0900 From: olof sivertsson <osivertsson@gmail.com> Reply-To: ruby-talk@ruby-lang.org To:
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
2009 Apr 02
1
Controlling vertical position
First, I want to thank everyone here who''s been helping me learn wxRuby. The biggest problem I''m having is getting the layout of a screen right. Right now, I have a dialog with several controls on it. With one exception, it looks good. I''m using wxFormBuilder and Xrcise to do the generation. I''m using nested box sizers to try to get things into the right
2004 Jun 19
4
FlexGridSizer question
=begin I am trying to understand how FlexGridSizer works and I have written a small test application using the latest wxRuby 0.4.0 on Win XP (Home). I cannot get static text ''Week'', ''Day'' and ''Date'' line up above the OK button. I have tried all combinations of ALIGN flags, but I either got the text sticking far too close to the left edge of
2008 Jan 14
15
How to get a Window handle from another app?
Hello, I would like to get a window handle from another app outside of wxRuby and convert it into a wxRuby Window handle so that I can use it as the parent Window for several wxRuby child windows. Basically I want to use the FRAME_FLOAT_ON_PARENT window style so that my wxRuby windows become associated with the outside app kind of like toolbars, e.g., they don''t show up in the
2008 May 13
2
NotebookSizer? / Resizing a listbook
There seems to be a NotebookSizer in C++ wxWidgets, is it in wxRuby or is it going to be? Not a lot of info to be found about that one. I''ve been trying to apply sizers to a Listbook but nothing goes at it should be. Nothing is visible until I resize the top frame a little and in best case I can get either horizontal grow but not simultaneous vertical grow. Would anyone mind showing me
2008 Mar 18
14
Proposal for an improved API for Sizer (and ToolBar)
Hi all, This is a proposal for supporting keyword arguments to Sizer#add following the thread below : http://rubyforge.org/pipermail/wxruby-development/2008-March/001244.html After a deeper look at lib/wx/keyword_ctors.rb and lib/wx/keyword_defs.rb, I understood the whole thing :-). I just reused and modified slightly the method args_as_list. The new Sizer#add_item combines the features of add
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
2007 Feb 19
2
Integrate scruffy graph in rails view?
Hi everybody, I''m using scruffy to create some graphs, and would like to integrate them into a regular view (i.e. show them in an <img> tag). However, I get errors when using img_tag, or the image doesn''t load if I try saving the graph to disk and then loading them in html. Generating the graph and linking to it works, however then I only have the graph open in a new