RE: [flexcoders] Grid alignment

2005-02-12 Thread John C. Bland II
Title: Message



Sounds 
good Senior Webster. :-) I'll look @ it right now and will definitely try harder 
on my layouts. Thx!


-Original Message-From: Steven Webster 
[mailto:[EMAIL PROTECTED] Sent: Saturday, February 12, 
2005 10:01 AMTo: flexcoders@yahoogroups.comSubject:RE: 
[flexcoders] Grid alignment
Hi John,
 
Try and avoid using the grid to do HTML like layout 
tricks; instead, think a little harder about how
you can achieve your layout with the other layout 
containers and with spacers.  In "Developing
Rich Clients with Macromedia Flex" (the flex book) we 
have a section on MXML Refactorings ...
 in fact, I just remember that I did a presentation 
on some of this stuff at IBM in Amsterdam,
and it's up as a Breeze presentation 
here:
 
http://www.richinternetapps.com/archives/000100.html
 
Take a look through that 
presentation...
 
Best,
 
Steven



From: John C. Bland II 
[mailto:[EMAIL PROTECTED] Sent: 12 February 2005 
16:56To: flexcoders@yahoogroups.comSubject: RE: 
[flexcoders] Grid alignment

Ok 
coo Steven. I'll give that a look.
 
I 
started to ask the question if using Grids was like using tables in html. 
Should I only use them for data layout (row duplication)? 



-Original Message-From: Steven 
Webster [mailto:[EMAIL PROTECTED] Sent: Saturday, 
February 12, 2005 3:27 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Grid 
alignment
I'm using a grid for layout purposes and can't 
seem to get one of my items to align right. I basically want two items on 
the same row but one of them aligned right and one aligned left 
(labels).  
 
Hey John - this is what we'd call a "bad code smell" and is 
one of the MXML Refactorings we talk 
about.
 
Rather than use a grid to achieve your layout (grids 
can be quite an expensive component for the 
layout
manager to deal with) why don't you look into the 
 component and play with widths, so 
that
you can have the Spacer consume all the space necessary to 
push your rightmost component to the 
far
right...?
 
ie:
 
  
 
Make 
sense ?
 
Steven
 



--
Steven 
WebsterTechnical Director
iteration::two
 
This e-mail and any associated 
attachments transmitted with it may contain confidential information and 
must not be copied, or disclosed, or used by anyone other than the 
intended recipient(s). If you are not the intended recipient(s) please 
destroy this e-mail, and any copies of it, 
immediately. Please also note that while software systems 
have been used to try to ensure that this e-mail has been swept for 
viruses, iteration::two do not accept responsibility for any damage or 
loss caused in respect of any viruses transmitted by the e-mail. Please 
ensure your own checks are carried out before any attachments are 
opened.
---Checked by AVG anti-virus system 
(http://www.grisoft.com).Version: 6.0.853 / Virus Database: 581 - 
Release Date: 01/02/2005


RE: [flexcoders] Grid alignment

2005-02-12 Thread Steven Webster
Title: Message



Hi John,
 
Try and avoid using the grid to do HTML like layout tricks; 
instead, think a little harder about how
you can achieve your layout with the other layout 
containers and with spacers.  In "Developing
Rich Clients with Macromedia Flex" (the flex book)we have 
a section on MXML Refactorings ...
 in fact, I just remember that I did a presentation on 
some of this stuff at IBM in Amsterdam,
and it's up as a Breeze presentation 
here:
 
http://www.richinternetapps.com/archives/000100.html
 
Take a look through that 
presentation...
 
Best,
 
Steven



From: John C. Bland II 
[mailto:[EMAIL PROTECTED] Sent: 12 February 2005 
16:56To: flexcoders@yahoogroups.comSubject: RE: 
[flexcoders] Grid alignment

Ok 
coo Steven. I'll give that a look.
 
I 
started to ask the question if using Grids was like using tables in html. 
Should I only use them for data layout (row duplication)? 


-Original Message-From: Steven Webster 
[mailto:[EMAIL PROTECTED] Sent: Saturday, February 12, 
2005 3:27 AMTo: flexcoders@yahoogroups.comSubject: RE: 
[flexcoders] Grid alignment
I'm using a grid for layout purposes and can't seem 
to get one of my items to align right. I basically want two items on the 
same row but one of them aligned right and one aligned left 
(labels).  
 
Hey John - this is what we'd call a "bad code smell" and is 
one of the MXML Refactorings we talk 
about.
 
Rather than use a grid to achieve your layout (grids can 
be quite an expensive component for the 
layout
manager to deal with) why don't you look into the 
 component and play with widths, so 
that
you can have the Spacer consume all the space necessaryto 
push your rightmost component to the 
far
right...?
 
ie:
 
  
 
Make 
sense ?
 
Steven
 



--
Steven WebsterTechnical 
Director
iteration::two
 
This e-mail and any associated 
attachments transmitted with it may contain confidential information and 
must not be copied, or disclosed, or used by anyone other than the intended 
recipient(s). If you are not the intended recipient(s) please destroy this 
e-mail, and any copies of it, immediately. Please also note 
that while software systems have been used to try to ensure that this e-mail 
has been swept for viruses, iteration::two do not accept responsibilityfor 
any damage or loss caused in respect of any viruses transmitted by the 
e-mail. Please ensure your own checks are carried out before any attachments 
are 
opened.
---Checked by AVG anti-virus system 
(http://www.grisoft.com).Version: 6.0.853 / Virus Database: 581 - 
Release Date: 01/02/2005


RE: [flexcoders] Grid alignment

2005-02-12 Thread John C. Bland II
Title: Message



Ok coo 
Steven. I'll give that a look.
 
I 
started to ask the question if using Grids was like using tables in html. Should 
I only use them for data layout (row duplication)? 


-Original Message-From: Steven Webster 
[mailto:[EMAIL PROTECTED] Sent: Saturday, February 12, 
2005 3:27 AMTo: flexcoders@yahoogroups.comSubject: RE: 
[flexcoders] Grid alignment
I'm using a grid for layout purposes and can't seem to get one of my 
items to align right. I basically want two items on the same row but one of 
them aligned right and one aligned left (labels).  
 
Hey John - this is 
what we'd call a "bad code smell" and is one of the MXML Refactorings we talk 
about.
 
Rather than use 
a grid to achieve your layout (grids can be quite an expensive component for 
the layout
manager to deal 
with) why don't you look into the  component 
and play with widths, so 
that
you can have the 
Spacer consume all the space necessary to push your rightmost component to the 
far
right...?
 
ie:
 
 
 
 
Make sense 
?
 
Steven
 



--
Steven WebsterTechnical 
Director
iteration::two
 
This e-mail and any associated 
attachments transmitted with it may contain confidential information and must 
not be copied, or disclosed, or used by anyone other than the intended 
recipient(s). If you are not the intended recipient(s) please destroy this 
e-mail, and any copies of it, immediately. Please also note that 
while software systems have been used to try to ensure that this e-mail has 
been swept for viruses, iteration::two do not accept responsibility for any 
damage or loss caused in respect of any viruses transmitted by the e-mail. 
Please ensure your own checks are carried out before any attachments are 
opened.


RE: [flexcoders] Grid alignment

2005-02-12 Thread Steven Webster
Title: Message



I'm using a grid for layout purposes and can't seem to get one of my 
items to align right. I basically want two items on the same row but one ofthem 
aligned right and one aligned left (labels).  
 
Hey John - this is 
what we'd call a "bad code smell" and is one of the MXML Refactorings we talk 
about.
 
Rather than use a 
grid to achieve your layout (grids can be quite an expensive component for the 
layout
manager to deal with) 
why don't you look into the  component and play 
with widths, so that
you can have the 
Spacer consume all the space necessary to push your rightmost component to the 
far
right...?
 
ie:
 
 
 
 
Make sense 
?
 
Steven
 



--
Steven WebsterTechnical 
Director
iteration::two
 
This e-mail and any associated attachments 
transmitted with it may contain confidential information and must not be copied, 
or disclosed, or used by anyone other than the intended recipient(s). If you are 
not the intended recipient(s) please destroy this e-mail, and any copies ofit, 
immediately. Please also note that while software systems havebeen 
used to try to ensure that this e-mail has been swept for viruses, 
iteration::two do not accept responsibility for any damage or loss caused in 
respect of any viruses transmitted by the e-mail. Please ensure your own checks 
are carried out before any attachments are 
opened.