Yeah. Try creating an empty moviclip and set the scale9 property in the library. Then put your grid in it and see if it scales the way you want. Sort of a hack, but might work for what your wanting.

BOL

Karl

Sent from losPhone

On Sep 3, 2010, at 6:29 AM, "Cor" <[email protected]> wrote:

Hi Karl,

Sorry I react so late, but I was away for my work for 5 days (and nights).

I also try to use anything else but components, but in this case the client
wanted it that way.
The scale9, I will try this.
I don't use any styling.

Thanks for all the support!!!

Kind regards
Cor


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Karl
DeSaulniers
Sent: dinsdag 31 augustus 2010 0:32
To: Flash Coders List
Subject: Re: [Flashcoders] Datagrid problem after resize page

Hey Cor,
Its a long shot, but can you load the grid into a mc that has the
scale9 on it?
Also, how are you styling the text? In css? or a textbox with a font
assigned to it?
Sorry haven't worked with grids too much.
Seems to me that if your using css, the line hight of your font stays
at the set pt but the text doesn't when it is sized up.
thus it is actually there, but because the scale is not set to an
whole number or non decimal number,
you get that cutoff of the bottom of your text for whatever reason, I
don't know, I think its a bug personally..
If your using css, maybe set the line height to be inherited or
absolute or a pt larger than it is currently set?
Or make your grid scale in whole numbers?
Well, I'm all reached out.
GL

Karl


On Aug 30, 2010, at 5:14 PM, Cor wrote:

No, unfortunatly not...

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Karl
DeSaulniers
Sent: maandag 30 augustus 2010 21:11
To: Flash Coders List
Subject: Re: [Flashcoders] Datagrid problem after resize page

That do the trick?

Karl

Sent from losPhone

On Aug 30, 2010, at 1:43 PM, "Cor" <[email protected]> wrote:

Thanks Karl!!!!!!!!!!!!!!!!!!!!

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Karl
DeSaulniers
Sent: maandag 30 augustus 2010 2:45
To: Flash Coders List
Subject: Re: [Flashcoders] Datagrid problem after resize page

Redemption. :)

http://www.rareviewblog.com/2009/01/21/flash-as3-grid-sorting/

Best,

Karl


On Aug 29, 2010, at 7:40 PM, Karl DeSaulniers wrote:

I do apologize, I just realized that was a silverlight forum.

NM

Karl


On Aug 29, 2010, at 7:29 PM, Karl DeSaulniers wrote:

Got one more.
Have you looked into the events SizeChagned and LayoutUpdated?
I found someone talking about it here.

http://forums.silverlight.net/forums/p/19987/275301.aspx

Very last comment on the post has some code that it is used in.
They are trying to autosize columns,
but you may be able to translate these events to help with your
problem.
JAT

Best,

Karl


On Aug 29, 2010, at 6:52 AM, Cor wrote:

Thanks again, Karl,

But I can't seem to find something like columnStretch but instead
for
columns I  need it for rows.

Regards
Cor

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of
Karl
DeSaulniers
Sent: zaterdag 28 augustus 2010 23:40
To: Flash Coders List
Subject: Re: [Flashcoders] Datagrid problem after resize page

This might help.

http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/fl/
controls/DataGrid.html

But I am thinking you have already seen this.
Sorry I am not much more help. Just had some time to google for
ya. :)
Best,

Karl

On Aug 28, 2010, at 4:33 PM, Karl DeSaulniers wrote:

Ah.. did not see this email.

Karl

On Aug 28, 2010, at 8:14 AM, Cor wrote:

I have looked at this:

http://www.adobe.com/devnet/flash/quickstart/datagrid_pt1/
#section1

but there is nothing about my issue.

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of
Karl
DeSaulniers
Sent: zaterdag 28 augustus 2010 12:37
To: Flash Coders List
Subject: Re: [Flashcoders] Datagrid problem after resize page

Is this what you are looking for?

http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/ flash/
display/DisplayObject.html#scale9Grid

Best,

Karl


On Aug 28, 2010, at 5:29 AM, Cor wrote:

Hi List,

I have used a datagrid which looks OK when the page is viewed
in its
original dimensions.
But if a user has a bigger resolution I scale my flash to that
size.
And then my datagrid looks bad:

http://www.codobyte.com/!problem/datagrid.gif

I want to keep the scaling part, so how can I adjust the text
in the
datagrid after the app is resized?

Any help is appreciated!

TIA, regards
Cor

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Karl DeSaulniers
Design Drumm
http://designdrumm.com

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Geen virus gevonden in het binnenkomende-bericht.
Gecontroleerd door AVG - www.avg.com
Versie: 9.0.851 / Virusdatabase: 271.1.1/3096 - datum van
uitgifte: 08/26/10
20:34:00

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Karl DeSaulniers
Design Drumm
http://designdrumm.com

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Karl DeSaulniers
Design Drumm
http://designdrumm.com

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Geen virus gevonden in het binnenkomende-bericht.
Gecontroleerd door AVG - www.avg.com
Versie: 9.0.851 / Virusdatabase: 271.1.1/3096 - datum van
uitgifte: 08/26/10
20:34:00

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Karl DeSaulniers
Design Drumm
http://designdrumm.com

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Karl DeSaulniers
Design Drumm
http://designdrumm.com

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Karl DeSaulniers
Design Drumm
http://designdrumm.com

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Geen virus gevonden in het binnenkomende-bericht.
Gecontroleerd door AVG - www.avg.com
Versie: 9.0.851 / Virusdatabase: 271.1.1/3099 - datum van uitgifte:
08/28/10
08:34:00

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Geen virus gevonden in het binnenkomende-bericht.
Gecontroleerd door AVG - www.avg.com
Versie: 9.0.851 / Virusdatabase: 271.1.1/3099 - datum van uitgifte:
08/28/10
08:34:00

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Karl DeSaulniers
Design Drumm
http://designdrumm.com

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Geen virus gevonden in het binnenkomende-bericht.
Gecontroleerd door AVG - www.avg.com
Versie: 9.0.851 / Virusdatabase: 271.1.1/3099 - datum van uitgifte: 08/28/10
08:34:00

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to