Am 06.12.2012 09:22, schrieb Martijn Verbrugh:
> Hi Michael,
>
>
>
> You probably need to change the appearance of your custom widget. Read this  
> to get some clues.
>

thank, I tried that and it didn't work.

But I found a solution:

I added the groupbox (and all childwidgets) via this._createChildControl 
with the code to create it in _createChildControlImpl. The other widgets 
were added to the group in _createChildControlImpl. So, no border around 
the group.

Then I changed the code. I created the groupbox in the constructor of my 
widget, just with new GroupBox() and *not* with createChildControl and 
stored it in this._myGroupBox

That solved it, the border is now drawn. I don't understand why at the 
moment, but that's a workaround.

cheers,
  Michael









>
>
>
> Regards,
>
> Martijn.
>
> -----Oorspronkelijk bericht-----
> Aan:qooxdoo Development <[email protected]>;
> Van:Michael <[email protected]>
> Verzonden:wo 05-12-2012 15:56
> Onderwerp:[qooxdoo-devel] custom widget and theme
> Hi,
>
>
> I coded a custom widget, which is composed of a groupbox with a button
> and a table in it.
>
> I didn't change the theming of my app. The problem is, that no frame is
> drawn around the groupbox, whereas in the main window groupboxes are
> drawn correctly.
>
> Do I miss something?
>
> cheers,
>   Michael
>
> ------------------------------------------------------------------------------
> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
> Remotely access PCs and mobile devices and provide instant support
> Improve your efficiency, and focus on delivering more value-add services
> Discover what IT Professionals Know. Rescue delivers
> http://p.sf.net/sfu/logmein_12329d2d
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>


------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to