Not to worry I have fixed this now.
Thanks anyway
--- On Sun, 1/2/09, Stuart Clarke <stuart_clarke86 at yahoo.com> wrote:
From: Stuart Clarke <stuart_clarke86 at yahoo.com>
Subject: [fxruby-users] Problems with FX frame layout
To: fxruby-users at rubyforge.org
Date: Sunday, 1 February, 2009, 1:32 PM
I am having a nightmare with the layout of my GUI, the attached picture shows
the layout I wish to achieve. I have a menu bar, then a tabbook under a
horzional seperator, to the right of the tabbook is a narrow frame containing
text. I have got this up and running however when i try to add a further frame
(which is at the very botton running from right to left) I get problems. I no
this is because my global frame is Horizontal and it arranges all new items left
to right. How do i get around this? I was thinking maybe the splitter but that
doesnt seems to have the flexibilty i need. Below is my code for setting up the
layout of my GUI and within each frame will be additional text frames etc.
??? #Window layout
??? window = FXHorizontalFrame.new(self,
LAYOUT_SIDE_TOP|LAYOUT_FILL_X|LAYOUT_FILL_Y)
???
tabbook = FXTabBook.new(window,:opts =>
FRAME_SUNKEN|LAYOUT_FILL_X|LAYOUT_LEFT)
??? md5List = FXVerticalFrame.new(window, :opts =>
FRAME_SUNKEN|LAYOUT_FILL_X|LAYOUT_BOTTOM)
??? idDesc = FXVerticalFrame.new(window, :opts => FRAME_SUNKEN|LAYOUT_RIGHT)
Thanks in advance
_______________________________________________
fxruby-users mailing list
fxruby-users at rubyforge.org
http://rubyforge.org/mailman/listinfo/fxruby-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://rubyforge.org/pipermail/fxruby-users/attachments/20090201/da85b551/attachment.html>