[wxruby-users] Static line is not drawn

Jn Jacob lists at ruby-forum.com
Fri Nov 21 14:10:54 EST 2008


Omar Hernandez wrote:
> Hello there,
> 
> My next problem is with a wx::StaticLine
> 
> ok, in the code, i'm using a notebook and i'm putting a panel in it. I
> declare and initialize comboboxes, grids, lavels (static texts),
> textctrl, buttons, etc, and a StaticLine.
> 
> Everything appears on the window, but not the line. If I call the line
> outside the notebook in an independen panel (on other program) the line
> is drwan. So I think I missed something.
> 

I think the size shouldnt be -1 , make it greater than 0


> Another problem is that the TextCtrl is drawn in a strange way: just a
> white rectangle whithout borders and it looks bad.
> 

try setting border options on like DOUBLE_BORDER , i am not sure if it 
would work.

> I'm attaching the code, please run it and check what I mean.
> Any help would be great!
> 
> I'm using Windows, and I've olny tried the code on windows.
-- 
Posted via http://www.ruby-forum.com/.


More information about the wxruby-users mailing list