Re: Thoughts on monopoly sizing

Charles Goodwin <[email protected]>
Newsgroups gmane.comp.java.xwt.general
Message-ID <308906BE5D07D5119285009027D61C5722F668@NTFPS1>
What I was thinking of implementing is a 'colors.xwt' (I'm thinking of a
more generic name at the moment) that would basically be a <static /> list
of all the properties of a theme...

<static>
    var color_active, color_hover, color_normal;
    var font_label, font_normal, font_menu;
</static>

Once a few more widgets are working in the audit, I'm going to start putting
together a definitive list of all of these.

The 'inherit' idea is interesting, though.  If the above model was used,
it'd inherit from the xwt.static...font_normal property.

-----Original Message-----
From: Adam Megacz [mailto:[email protected]]
Sent: 01 April 2003 13:28
To: [email protected]
Subject: Re: [xwt-dev] Thoughts on monopoly sizing



David Crawshaw <[email protected]> writes:
> Wouldn't it be better to have some preapply template somewhere in the 
> theme that sets the default font?

BTW, what do you all think of having a box whose font hasn't been set
(ie font==null) "inherit" its parent's font?  Then the "default font"
is just the font property on the root box.

  - a

_______________________________________________
http://lists.xwt.org/listinfo/dev
_______________________________________________
http://lists.xwt.org/listinfo/dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.