Just put it in your application.css file:

 

Panel {

  paddingTop = 0;

  paddingRight  = 0;

  paddingBottom = 0;

  paddingLeft = 0;

}

 

And, viola, no padding on any panels. If you need some panels to have
padding, you can add style classes to support that, or just use inline
styles on the specific panels that need padding.

 

~randy

 

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Tracy Spratt
Sent: Wednesday, September 10, 2008 6:19 PM
To: [email protected]
Subject: RE: [flexcoders] panel margin

 

Yeah.  Those kinds of things are a balancing act between fast simple results
and easy complex results.  In other words, defaults make it easy to slap
together a demo, but do not help experienced developers building complex
apps.

 

We just has a thread on the scrollbar policy being "on" by default, which
causes all kinds of aggravation in deeply nested apps.  As with padding, I'd
prefer the default to be off, and let me turn it on if I need it.

 

Tracy

 

  _____  

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of [EMAIL PROTECTED]
Sent: Wednesday, September 10, 2008 6:30 PM
To: [email protected]
Subject: Re: [flexcoders] panel margin

 

Right you are, thanks- I eventually figured out it was a default padding 
in the application. If it was up to me, there would not be any default 
padding or margins on anything.

Tracy Spratt wrote:
>
> That is probably padding in the container holding the panel.
>
> Tracy
>
> 
>
> * From: * [email protected] <mailto:flexcoders%40yahoogroups.com>
[mailto: 
> [email protected] <mailto:flexcoders%40yahoogroups.com>  ] *On
Behalf Of [EMAIL PROTECTED] <mailto:%2Ainfo1%40reenie.org> 
> *Sent:* Wednesday, September 10, 2008 1:15 PM
> *To:* [email protected] <mailto:flexcoders%40yahoogroups.com> 
> *Subject:* [flexcoders] panel margin
>
> 
>
> Is there some kind of default margin on the flex panel?
> http://journeyblueh eaven.com/ index.php 
> <http://journeyblueheaven.com/index.php>
>
> in the right hand section, the panel is just the right size, but there
> are right and left margins that create a scroll bar at the bottom of the
> right hand section. I can't seem to get rid of the margins.
>
> 
> ----------------------------------------------------------
>
>
>
> Checked by AVG - http://www.avg.com 
> Version: 8.0.169 / Virus Database: 270.6.19/1664 - Release Date: 9/10/2008
6:00 AM
>
> 

 

Reply via email to