RE: [flexcoders] Flex 2.0 beta1 text component bug : updated

2006-02-03 Thread Jonas Windey
No it doesn't, since it uses more height than it's supposed to use.
Lemme create an example that you can test.

http://213.193.146.35/temp/flex/srcview/

That's the code

http://213.193.146.35/temp/flex/shot.jpg

and that's a screenshot

As you see, in the first textbox there is no width specified, and it takes a
default width of 200px. The height is correct.

In the second checkbox, the width is set to 100%. There's the bug, it
shouldn't use that much height, since the text is only 4 lines high in this
box (height should also change upon resizing the window)

The third textbox is correct too, but I can't use a fixed width since the
panel needs to be resizable

This was working 100% in the alpha version.

Any clues?

Thanks

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Manish Jethani
Sent: donderdag 2 februari 2006 18:29
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex 2.0 beta1 text component bug

On 2/2/06, Jonas Windey [EMAIL PROTECTED] wrote:
 Nope, even tried it with a lipsum text:

 http://www.narcisten.be/flex/testBug3.jpg

 mx:Repeater id=list dataProvider={messages}
 mx:Text minWidth=0 width=100% id=text1
 mx:htmlTextLorem ipsum dolor sit amet, consectetur
 adipisicing elit, sed do eiusmod tempor incididunt ut labore
et
 dolore magnaaliqua. Ut enim ad minim veniam, quis nostrud
 exercitationullamco laboris nisi ut aliquip ex ea
 commodo consequat. Duis aute irure dolor in reprehenderit
in
 voluptate velit esse cillum dolore eu fugiat nulla pariatur.
 Excepteur sint occaecat cupidatat non proident,
sunt
 in culpa qui officia deserunt   mollit anim id est
laborum.
 /mx:htmlText
 /mx:Text
 mx:HRule width=100%/
 mx:Label width=100% htmlText=Posted by
 lt;bgt;{list.currentItem.FstName}lt;/bgt; /
 mx:HRule width=100%/

 /mx:Repeater

Actually I'm not sure I understand the problem.  In the second image
(Beta 1) [1], you said the Text component does not size correctly. 
That's not true - it does, doesn't it?  It's showing all the text. 
Can you explain a bit?

[1]: http://www.narcisten.be/flex/testBug2.jpg


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 








--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [flexcoders] Flex 2.0 beta1 text component bug : updated

2006-02-03 Thread Manish Jethani
On 2/3/06, Jonas Windey [EMAIL PROTECTED] wrote:

 Lemme create an example that you can test.

 http://213.193.146.35/temp/flex/srcview/

 That's the code

 http://213.193.146.35/temp/flex/shot.jpg

 and that's a screenshot

Thanks - that's very helpful!

 As you see, in the first textbox there is no width specified, and it takes a
 default width of 200px. The height is correct.

 In the second checkbox, the width is set to 100%. There's the bug, it
 shouldn't use that much height, since the text is only 4 lines high in this
 box (height should also change upon resizing the window)

In my local build, it works as expected.  i.e. the second one takes up
only as much height as required.  Maybe it's a bug in Beta 1 that got
fixed afterwards.  You'll have to live with it until the next build it
out.


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




RE: [flexcoders] Flex 2.0 beta1 text component bug : updated

2006-02-03 Thread Jonas Windey
Well in the alpha version it worked, what build are you running?

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Manish Jethani
Sent: vrijdag 3 februari 2006 11:09
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex 2.0 beta1 text component bug : updated

On 2/3/06, Jonas Windey [EMAIL PROTECTED] wrote:

 Lemme create an example that you can test.

 http://213.193.146.35/temp/flex/srcview/

 That's the code

 http://213.193.146.35/temp/flex/shot.jpg

 and that's a screenshot

Thanks - that's very helpful!

 As you see, in the first textbox there is no width specified, and it takes
a
 default width of 200px. The height is correct.

 In the second checkbox, the width is set to 100%. There's the bug, it
 shouldn't use that much height, since the text is only 4 lines high in
this
 box (height should also change upon resizing the window)

In my local build, it works as expected.  i.e. the second one takes up
only as much height as required.  Maybe it's a bug in Beta 1 that got
fixed afterwards.  You'll have to live with it until the next build it
out.


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





Re: [flexcoders] Flex 2.0 beta1 text component bug : updated

2006-02-03 Thread Manish Jethani
On 2/3/06, Jonas Windey [EMAIL PROTECTED] wrote:

 Well in the alpha version it worked, what build are you running?

I'm in the Flex team at Adobe - using the latest code (bleeding edge
and all) :)  Works fine for me.


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/