There are two ways in which to do this in wxFormBuilder. A.) You can define
the Border width, which is in Pixels, or you can use a Spacer, remove the
wxEXPAND from it, set the proportion to 0, and define the height you want in
pixels for the spacer to expand, there by moving the item(s) down from the
top of the frame.
hth,
Mario
P.S. Sorry for the delay in the response, been busy building up a Gentoo
System here.
On Thu, Apr 2, 2009 at 2:02 PM, Michael Satterwhite <lists at
ruby-forum.com>wrote:
> 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 positions.
>
> On the upper corner of the screen, I have a box sizer (HORIZONTAL) with
> a label and a text edit control. Horizontally, they are perfect. They
> are, however, at the top of the sizer, and I''d like to move them
down a
> bit in the sizer. They don''t have to be centered vertically, but
they do
> need to move down some. I''ve tried everything I can think of,
nesting
> other sizers in that sections, etc. but nothing seems to work correctly.
>
> Would someone be so kind as to give me some ideas ... or point me at
> some more tutorials on sizers and spacers. I''ve gone through all
of them
> I can find on the documentation site.
>
> Thank you *VERY MUCH* ... in advance.
> ---Michael
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> wxruby-users mailing list
> wxruby-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/wxruby-users
>
--
Mario Steele
http://www.trilake.net
http://www.ruby-im.net
http://rubyforge.org/projects/wxruby/
http://rubyforge.org/projects/wxride/
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://rubyforge.org/pipermail/wxruby-users/attachments/20090405/22a0703c/attachment.html>