[flexcoders] can't remove space around label

2007-05-22 Thread Lincoln Mitchell
I need to get a Label (or Text) as close as possible to an image sitting
below it.
Padding-bottom and height attributes only do part of the job.
It's like there is a margin around the label.

Any ideas?

Linc




Re: [flexcoders] can't remove space around label

2007-05-22 Thread Roman Protsiuk

As far as I remember there are some internal margins in the Label. One of my
suggestions would be to override measure()/updateDisplayList() and to
measure/draw content (UITextField) manually using your rules.
Though it's just a guess. ;)

R.

On 5/22/07, Lincoln Mitchell [EMAIL PROTECTED] wrote:


  I need to get a Label (or Text) as close as possible to an image sitting
below it.
Padding-bottom and height attributes only do part of the job.
It's like there is a margin around the label.

Any ideas?

Linc

 



RE: [flexcoders] can't remove space around label

2007-05-22 Thread Lincoln Mitchell
Sorted! It had nothing to do with label or text but a layout issue related
to the whole app.

To fix I added the attribute verticalGap=0 to the ApolloApplication node.

 

Linc

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Lincoln Mitchell
Sent: Tuesday, 22 May 2007 4:37 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] can't remove space around label

 

I need to get a Label (or Text) as close as possible to an image sitting
below it.
Padding-bottom and height attributes only do part of the job.
It's like there is a margin around the label.

Any ideas?

Linc

 



RE: [flexcoders] can't remove space around label

2007-05-22 Thread Dimitrios Gianninas
Another way to accomplish this is to include both controls in a Canvas and use 
x/y coordinates to put them exactly as you want.
 
Dimitrios Gianninas
Developer
Optimal Payments Inc.
 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Lincoln 
Mitchell
Sent: Tuesday, May 22, 2007 4:37 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] can't remove space around label



I need to get a Label (or Text) as close as possible to an image sitting
below it.
Padding-bottom and height attributes only do part of the job.
It's like there is a margin around the label.

Any ideas?

Linc



 

-- 
WARNING
---
This electronic message and its attachments may contain confidential, 
proprietary or legally privileged information, which is solely for the use of 
the intended recipient.  No privilege or other rights are waived by any 
unintended transmission or unauthorized retransmission of this message.  If you 
are not the intended recipient of this message, or if you have received it in 
error, you should immediately stop reading this message and delete it and all 
attachments from your system.  The reading, distribution, copying or other use 
of this message or its attachments by unintended recipients is unauthorized and 
may be unlawful.  If you have received this e-mail in error, please notify the 
sender.

AVIS IMPORTANT
--
Ce message électronique et ses pièces jointes peuvent contenir des 
renseignements confidentiels, exclusifs ou légalement privilégiés destinés au 
seul usage du destinataire visé.  L'expéditeur original ne renonce à aucun 
privilège ou à aucun autre droit si le présent message a été transmis 
involontairement ou s'il est retransmis sans son autorisation.  Si vous n'êtes 
pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, 
veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses 
pièces jointes, de votre système.  La lecture, la distribution, la copie ou 
tout autre usage du présent message ou de ses pièces jointes par des personnes 
autres que le destinataire visé ne sont pas autorisés et pourraient être 
illégaux.  Si vous avez reçu ce courrier électronique par erreur, veuillez en 
aviser l'expéditeur.