Re: text namespace

Charles Goodwin <[email protected]> Thu, 10 Apr 2003 10:42:00 +0100
Newsgroups gmane.comp.java.xwt.general
Message-ID <308906BE5D07D5119285009027D61C5722F6E6@NTFPS1>
There'd probably be an xwt.theme.text and xwt.theme.edit, especially for
edit which might vary across themes (diff bg / maybe something different to
a bevel).

> xwt.widget.text:
> 	- preapply xwt.theme.scrollpane

Do you want a scrollpane for every text?  If you were to use text for
labels, that sounds like an awful abuse of resources. :)

xwt.widget.text, for me, should be the text that you use everywhere you
don't want it to be editable.  labels, descriptions, etc.  This is very
different to editable text, xwt.widget.edit, which will (in monopoly) have a
white bg and bevel wrap and be focusable.

xwt.widget.text preapplies xwt.theme.text
xwt.widget.edit preapplies xwt.theme.edit and xwt.theme.focusable

xwt.theme.edit (eg org.xwt.themes.monopoly) will add stuff like bevel and bg
and use xwt.theme.text

xwt.theme.text will preapply xwt.lib.text

How about that?
_______________________________________________
http://lists.xwt.org/listinfo/dev