Re: Adding margin

Phalip Julien <[email protected]> Wed, 16 Feb 2005 23:35:38 +0100 (CET)
Newsgroups gmane.comp.java.luxor-xul.user
Message-ID <[email protected]>
--0-1020276995-1108593338=:68756
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

Is there a cvs server running somewhere for the luxor sources?

Gerald Bauer <[email protected]> wrote: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=20

- 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=3D6595&alloc_id=3D14396&op=3Dclick
_______________________________________________
luxor-xul-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/luxor-xul-user


	=09
---------------------------------
 D=E9couvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vo=
s mails !
Cr=E9ez votre Yahoo! Mail
--0-1020276995-1108593338=:68756
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

<DIV>Is there a cvs server running somewhere for the luxor sources?<BR><B=
R><B><I>Gerald Bauer &lt;[email protected]&gt;</I></B> wrote:
<BLOCKQUOTE class=3Dreplbq style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #1010ff 2px solid">Hello Julien,<BR><BR>&gt; The Css class o=
n contains a "PADDING" static<BR>&gt; attribute, but no "padding-top", "p=
adding-left", ...<BR>&gt; Should we extend it?<BR><BR>Sure. Add the missi=
ng padding properties.<BR><BR>&gt; Then, could explain what are the steps=
 to follow to<BR>&gt; implement missing (in luxor) properties.<BR><BR>Wel=
l, I think the easiest route is to add the<BR>property to the XulTag clas=
s (see<BR>http://cvs.sourceforge.net/viewcvs.py/luxor-xul/luxor/src/luxor=
/core<BR>) and than use a getPaddingTop() method in the label<BR>definiti=
on to configure the label the way you want.<BR><BR>&gt; Finally, what do =
you mean by "CVS patch", I am sorry<BR>&gt; I am not very familiar with t=
hat...<BR><BR>If you use a CVS client (e.g. Eclipse) you can<BR>create a =
diff file (aka CVS patch) automatically that<BR>lists all changes you mad=
e to the code.<BR><BR>See the Free O'Reilly Book
 Chapter on Using Eclipse<BR>and CVS for details. You can get your free c=
opy online<BR>@ http://www.oreilly.com/catalog/eclipseckbk <BR><BR>- Gera=
ld<BR><BR><BR>-------------------------------------------------------<BR>=
SF email is sponsored by - The IT Product Guide<BR>Read honest &amp; cand=
id reviews on hundreds of IT Products from real users.<BR>Discover which =
products truly live up to the hype. Start reading now.<BR>http://ads.osdn=
.com/?ad_id=3D6595&amp;alloc_id=3D14396&amp;op=3Dclick<BR>_______________=
________________________________<BR>luxor-xul-user mailing list<BR>luxor-=
[email protected]<BR>https://lists.sourceforge.net/lists/lis=
tinfo/luxor-xul-user<BR></BLOCKQUOTE></DIV><p>
		<hr size=3D1>=20
D=E9couvrez le nouveau Yahoo! Mail : <font color=3D"red">250 Mo d'espace<=
/font> de stockage pour vos mails !<br><a href=3D"http://fr.rd.yahoo.com/=
mail/taglines/*http://fr.rd.yahoo.com/evt=3D25917/*http://fr.rd.yahoo.com=
/mail_fr/mail_campaigns/splash/taglines_250/default/*http://fr.promotions=
.yahoo.com/mail/creer28.html">Cr=E9ez votre Yahoo! Mail</a>
--0-1020276995-1108593338=:68756--


-------------------------------------------------------
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