borders and padding
Charles Goodwin <[email protected]> Fri, 13 Feb 2004 19:05:55 +0000
| Newsgroups | gmane.comp.java.xwt.widgets |
|---|---|
| Organization | XWT Foundation |
| Message-ID | <[email protected]> |
Anybody got thoughts on how to handle borders and padding now that they're out of the core? I wanted to just trap fill for borders but now I'm unsure whether that's wise given that I've no idea how we determine whether a value put to fill is a colour or an image resource. Also, should padding be part of border? (An invisible border?) Or would it be better handled using a transformation rather than extra boxes. We can either wrap the <content/> in a 3x3 grid of boxes (with colspan set of course) or we can somehow shift the <content/> to the desired x,y and make sure it's never larger than [width-2x] and [width - 2y]. -- - Charlie The future of the net - www.xwt.org Charles Goodwin <[email protected]> Member of the XWT Foundation