Re: Adding margin
Gerald Bauer <[email protected]> Mon, 14 Feb 2005 18:22:35 -0800 (PST)
| Newsgroups | gmane.comp.java.luxor-xul.user |
|---|---|
| Message-ID | <[email protected]> |
Hello Julien, > The Css class on contains a "PADDING" static > attribute, but no "padding-top", "padding-left", ... > Should we extend it? Sure. Add the missing padding properties. > Then, could explain what are the steps to follow to > implement missing (in luxor) properties. Well, I think the easiest route is to add the property to the XulTag class (see http://cvs.sourceforge.net/viewcvs.py/luxor-xul/luxor/src/luxor/core ) and than use a getPaddingTop() method in the label definition to configure the label the way you want. > Finally, what do you mean by "CVS patch", I am sorry > I am not very familiar with that... If you use a CVS client (e.g. Eclipse) you can create a diff file (aka CVS patch) automatically that lists all changes you made to the code. See the Free O'Reilly Book Chapter on Using Eclipse and CVS for details. You can get your free copy online @ http://www.oreilly.com/catalog/eclipseckbk - Gerald ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click