Re: [flexcoders] How to constrain child elements within a flexable parent?

2007-05-03 Thread Manish Jethani
On 5/2/07, Ian Skinner [EMAIL PROTECTED] wrote: Manish Jethani So this is what you want: ?xml version=1.0? … That is close to what I want. It worked fine when the label itself was constrained as I had been testing to simplify my code. But in my actual code, where the label is a

RE: [flexcoders] How to constrain child elements within a flexable parent?

2007-05-03 Thread Ian Skinner
I'm curious you're still getting scrollbar and/or no truncation of the label. No, I do not have a small example, because the small example works as expected. It's when I expand the code into my actual application that the behavior changes slightly. I will say what I have is quite workable. I

RE: [flexcoders] How to constrain child elements within a flexable parent?

2007-05-01 Thread Ian Skinner
Yes, I did mean HBox, there is a VBox container around the label, because once I have the layout figured out, there will be more then just a label in it. Here is the code that did not work for me: mx:Repeater id=weekRows dataProvider={weekStartsAry} mx:HBox width=100% mx:Repeater

Re: [flexcoders] How to constrain child elements within a flexable parent?

2007-05-01 Thread Manish Jethani
On 4/30/07, Ian Skinner [EMAIL PROTECTED] wrote: Yes, I did mean HBox, there is a VBox container around the label, because once I have the layout figured out, there will be more then just a label in it. So this is what you want: ?xml version=1.0? mx:Application

RE: [flexcoders] How to constrain child elements within a flexable parent?

2007-05-01 Thread Ian Skinner
Thanks. I had just asked this again, providing some code showing this. I will now give your solution a try. Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized

RE: [flexcoders] How to constrain child elements within a flexable parent?

2007-05-01 Thread Ian Skinner
Manish Jethani So this is what you want: ?xml version=1.0? ... That is close to what I want. It worked fine when the label itself was constrained as I had been testing to simplify my code. But in my actual code, where the label is a child of a custom MXML VBox container it is not quite

Re: [flexcoders] How to constrain child elements within a flexable parent?

2007-04-27 Thread Manish Jethani
Did you mean HBox instead of VBox? From your description of the layout, it should just work. Can you post a simple example that doesn't work? On 4/28/07, Ian Skinner [EMAIL PROTECTED] wrote: I have a Panel that I have sized to be constrained at 10 pixels top, bottom, left and right so that it