|
|
|
|
Re: custom controls: borders [message #105929 is a reply to message #105901] |
Mon, 22 September 2008 13:38 |
Eclipse User |
|
|
|
Originally posted by: rherrmann.innoopract.com
Hi Dmitry,
please see my comments below.
HTH
Rüdiger
-----------------------------
Rüdiger Herrmann
Innoopract
http://innoopract.com
delivering eclipse technology
Dmitry Pryadkin wrote:
> Hello Rüdiger,
>
> I was reading [2], tried "terminator.setBorder("inset-thin");"
and failed.
you need to pass a qx.ui.core.Border object to setBorder().
e.g.
var border = new qx.ui.core.Border( 2, "inset-thin" );
terminator.setBorder( border );
>
> Another question. I have two GroupBox'es set on VerticalBoxLayout
and they do overlap a bit. How do I rectify it?
The actual experts on the qooxdoo mailing-list will probably know an
answer.
Don't forget to mention that you are working with qx 0.7.3 (not 0.8.x).
>
> Thanks
>
>
> Rüdiger Herrmann wrote:
>> best would be to use theming (see Theming for custom widgets[1])
to achieve this.
>> A simpler approach would be to set the border property of the
client-side widget directly (e.g. in its 'constructor'). See the qx
API viewer for reference documentation [2].
>> [1]
http://help.eclipse.org/ganymede/topic/org.eclipse.rap.help/ help/html/advanced/theming-custom.html
[2] http://demo.qooxdoo.org/0.7.x/apiviewer/#qx.ui.core.Widget
|
|
|
|
Powered by
FUDForum. Page generated in 0.03790 seconds