Re: text namespace
Andrew Kohlsmith <[email protected]> Wed, 9 Apr 2003 09:59:05 -0400
| Newsgroups | gmane.comp.java.xwt.general |
|---|---|
| Organization | Benshaw Canada |
| Message-ID | <[email protected]> |
> xwt.widget.text.label/singleline/multiline/richtext which use/preapply > stuff from xwt.theme (so the theme bevel etc gets used) and eventually > it'll all come back to xwt.lib.text, the standalone text xwt. Sounds fine, I suppose... What I had intended was that edit gets wrapped by a box that did not grow with the box, (i.e. put it in a scrollpane), add the bevel and functionality of a normal text box, and call the bigger widget textbox. The textbox template has (I have it done) properties which allow single line, multiline, scrollbars or no, max chars or no, etc., etc.. I agree that 'text' is very misleading. A label is a plain box with its text attribute set. Editable and uneditable textboxes are really the same widget, but with opposite "editable" properties. And single/mulitline are again the same widget as editable and uneditable textboxes. Why complicate it? Why have five separate widgets when one is easily represented by a single box, and the other four work fine as a single template? I can't think of another GUI which makes the distinction that editable/noneditable, multiline/singleline text boxes are separate entities. Regards, Andrew _______________________________________________ http://lists.xwt.org/listinfo/dev