search for: layout_fix_height

Displaying 3 results from an estimated 3 matches for "layout_fix_height".

2007 Apr 27
2
mdiclient windows do not always activate on click
...4-18 16:19:59.000000000 -0700 +++ mdi.rb 2007-04-27 14:44:54.000000000 -0700 @@ -134,7 +134,7 @@ scrollwindow = FXScrollWindow.new(mdichild, 0) scrollwindow.verticalScrollBar.setLine(@font.fontHeight) btn = FXButton.new(scrollwindow, TYGER, - :opts => LAYOUT_FIX_WIDTH|LAYOUT_FIX_HEIGHT, :width => 600, :height => 1000) + :opts => LAYOUT_FIX_WIDTH|LAYOUT_FIX_HEIGHT, :width => 100, :height => 100) btn.font = @font btn.backColor = FXColor::White mdichild ...and then click on the empty area within one of the windows behind the active child, t...
2005 Dec 01
1
Can''t add text to FXCanvas
...calSeparator.new(self, LAYOUT_SIDE_RIGHT|LAYOUT_FILL_Y|SEPARATOR_GROOVE) colorButton = FXButton.new(@rightFrame, "&Colors\tOpen Color Dialog\tOpen a dialog for selecting colors", nil, colorDialog, FXWindow::ID_SHOW, FRAME_RAISED|FRAME_THICK|LAYOUT_FIX_WIDTH|LAYOUT_FIX_HEIGHT, 0,0, 70, 30) fontButton = FXButton.new(@rightFrame, "&Axes\nFont\tChoose Axis Font\tSelect a font for the Axis Display", nil, @fontDialog, FXWindow::ID_SHOW, FRAME_RAISED|FRAME_THICK|LAYOUT_FIX_WIDTH|LAYOUT_FIX_HEIGHT,0, 0,70, 30) quitButton = FXButton.new...
2008 May 18
8
FXTable::fitColumnsToContents
...r example, if you create an > FXText object without "LAYOUT_FILL" or "LAYOUT_FILL_Y" then the text > window is something like 3 lines high. If I add a height parameter, > the object height does not change. True. For those cases you''d need to specify the LAYOUT_FIX_HEIGHT layout width to get it to enforce your specified height value. > A corollary to this is - what are the units for "height" (pixels, > lines, inches, ....)? - I have not found this in the API > documentation. Width and height are always in pixels. > I have a table with...