Re: text namespace

Charles Goodwin <[email protected]> Mon, 14 Apr 2003 16:58:50 +0100
Newsgroups gmane.comp.java.xwt.general
Message-ID <308906BE5D07D5119285009027D61C5722F703@NTFPS1>
There's other minor differences.  A single line edit commonly doesn't trap
"enter" but instead refers it to the default action button (btw, that's now
working in mixdown cvs :P) whereas a multiline does trap "enter".

I would say that single lines don't want a scrollbar, but basically all
multi lines do.  Single lines don't trap "enter", multilines do.

I'd say that we should have 4:

xwt.widget.text
xwt.widget.textfield  // singleline
xwt.widget.editfield  // multiline
xwt.widget.label      // idiom for <text focusable="false" multiline="true"
/> ie can be set to multiline="true" if needed

Obviously, if somebody can suggest better names for the single/multiline,
speak up. :)

-----Original Message-----
From: Adam Megacz [mailto:[email protected]]
Sent: 13 April 2003 07:49
To: [email protected]
Subject: Re: [xwt-dev] text namespace



Charles Goodwin <[email protected]> writes:
> Do you want a scrollpane for every text?

That's a very good point.  If people want an edit to be scrollable,
they'll manually wrap a <scrollpane/> around it.

  - a

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