Re: text namespace
Andrew Kohlsmith <[email protected]> Wed, 9 Apr 2003 10:27:26 -0400
| Newsgroups | gmane.comp.java.xwt.general |
|---|---|
| Organization | Benshaw Canada |
| Message-ID | <[email protected]> |
> I personally don't like the idea of a label just being a box with it's > text set because It pisses me off when you can't select labels to copy > them. :) That's a good point. > There's lots of little distinctions to be made. But they all are just > slight variations on the basic text widget - but your minimising the work > for the application developer by doing it for them. Right, but why separate it out into five separate widgets? Why not one "textbox" widget which preapplies the core edit template, and has properites to set whether it's multiline/singleline, editable, has scrollbars, hell even if it's text is selectable! You don't want to bombard the app designer with a thousand widgets, each just a little different from its neighbours. > Maybe I'm making more of this than needs be though. If you consider me > wrong wrt to label, you could argue a single line textbox is just a > multiline one with it's scrollbars being hidden and CRs being ignored. > (Could be done in a _multiline trap.) And that richtext is an entirely > different widget. Exactly. Beautiful. And I conceed on the selectable aspect of boxes with text attributes. :-) Sometimes you want to be able to select the label, sometimes not. :-) _______________________________________________ http://lists.xwt.org/listinfo/dev