Re: text namespace

David Crawshaw <[email protected]> Thu, 10 Apr 2003 19:36:44 +1000
Newsgroups gmane.comp.java.xwt.general
Message-ID <[email protected]>
On Thursday, April 10, 2003, at 07:42  PM, Charles Goodwin wrote:
> 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).

Yep, xwt.theme.edit sounds reasonable, as long as it preapplies 
xwt.theme.text.

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

I have seen such effects on a Windows machine, where if a label is too 
small for the text it contains, it scrolls. Can we have some kind of 
scrollpane in xwt.theme that does not have any scrollbars in it? Not 
just hidden, but non-existent. This would mean the extra resources 
would only be one box (for the absolute movement).

I say we handle that a bit later. For now, just have it without 
scrollpane around it. But I think a lightweight scrollpane would do the 
trick.

> 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?

Sounds right.

d


_______________________________________________
http://lists.xwt.org/listinfo/dev