Displaying 4 results from an estimated 4 matches for "layout_left".
2008 Jul 02
2
FXTextField and text alignment
...tches" from left alignment to right
aligment: you only see the end of the text. When the text is smaller
than the available space, text is aligned on the left.
Is there a way to change that, and have left alignment all the time?
I''ve been trying a few things, like LAYOUT_SIDE_LEFT or LAYOUT_LEFT, but
without success.
Thanks!
Philippe Lang
2005 Dec 01
1
Can''t add text to FXCanvas
...rogram",
nil, nil, 0,
FRAME_RAISED|FRAME_THICK|LAYOUT_FIX_WIDTH|LAYOUT_FIX_HEIGHT,0, 0,70,
30)
quitButton.connect(SEL_COMMAND) {
getApp().exit(0)
}
#CANVAS FRAME
canvasFrame = FXVerticalFrame.new(self,
FRAME_RIDGE|LAYOUT_FILL_X|LAYOUT_FILL_Y|LAYOUT_TOP|LAYOUT_LEFT,
0, 0, 0, 0, 0,0,0,0)
@canvas = FXCanvas.new(canvasFrame, nil, 0,
FRAME_RAISED|LAYOUT_FILL_X|LAYOUT_FILL_Y|LAYOUT_TOP|LAYOUT_LEFT)
@canvas.connect(SEL_PAINT) do |sender, sel, event|
FXDCWindow.new(@canvas, event) do |dc|
@canvas.backColor = @color4
dc.foreg...
2006 Dec 03
0
[778] trunk/wxruby2: Remove broken and deprecated LayoutConstraints, update samples & docs
...Wx::Point.new(5,5), Wx::Size.new(-1,50))
- txt.set_background_colour(Wx::BLUE)
- txt.set_foreground_colour(Wx::WHITE)
-
- lc = Wx::LayoutConstraints.new()
- lc.top.same_as(self, Wx::LAYOUT_TOP, 10)
- lc.left.same_as(self, Wx::LAYOUT_LEFT, 10)
- lc.bottom.same_as(self, Wx::LAYOUT_BOTTOM, 10)
- lc.right.percent_of(self, Wx::LAYOUT_RIGHT, 50)
- @panelA.set_constraints(lc)
-
- @panelB = Wx::Window.new(self, -1, Wx::DEFAULT_POSITION, Wx::DEFAULT_SIZE, Wx::SIMPLE_BORDER)
- @panelB.set_background...
2005 May 03
10
Is wxRuby-SWIG version usable enough to package for download?
If wxRuby-SWIG is as usable as wxRuby 0.6.0, maybe it should be given a
version number and packaged up for download.
Given the nature of SWIG, having a lot more people use it would probably
result in more code contributions to this project.
Seems most of the changes are 2+ months old, so I''m guessing wxRuby-SWIG
is fairly stable right now in terms of frequency of changes...