Displaying 1 result from an estimated 1 matches for "decor_title".
2007 Aug 24
2
setting the font in FXText
...ge the font to a courier type
font since it''s a hex dump. When do the following it works as expected:
# A little dialog box to use in our tests
class FXTextDialog < FXDialogBox
def initialize(owner)
# Invoke base class initialize function first
super(owner, "Temp", DECOR_TITLE|DECOR_BORDER, 0, 0, 200, 200)
button = FXHorizontalFrame.new(self,
LAYOUT_SIDE_BOTTOM|FRAME_NONE|LAYOUT_FILL_X|PACK_UNIFORM_WIDTH)
contents = FXHorizontalFrame.new(self,
LAYOUT_SIDE_TOP|FRAME_NONE|LAYOUT_FILL_X|LAYOUT_FILL_Y|PACK_UNIFORM_WIDT
H)
@fxtext = FXText.new(content...