xavier.lepaul
Posts: 0
Joined: Tue Apr 12, 2011 8:43 pm

Fit = vertical broken in horizontal layout

Inside a container whose layout is horizontal, whenever I set a control's "fit" property to "vertical" (or "both"), the control's height is set to a value that correspond what would be set as a width if it were to fit horizontally.
For instance, if the container's dimension are 300x400, the control's height will be set to 288 (instead of the expected 388)

Image

Image

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Fit = vertical broken in horizontal layout

I tried your example and it worked for me, for example:

Image

Let me know if it's still not working for you...

xavier.lepaul
Posts: 0
Joined: Tue Apr 12, 2011 8:43 pm

Fit = vertical broken in horizontal layout

I tried again, on various browser and flash plugins (Chrome (plugin 10.2.154.12), Firefox (10.2.153.1) and IE (both with 10.2.152.26 and 10.3.180.65 beta2)), and it's still broken. In your test, does your panel's layout is horizontal ? without that, there is no bug.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Fit = vertical broken in horizontal layout

I did try in Firefox but on Linux, and it worked for me as well. I'll report this as a bug and let our team look into this further.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Fit = vertical broken in horizontal layout

What Firefox and IE version did you try?

xavier.lepaul
Posts: 0
Joined: Tue Apr 12, 2011 8:43 pm

Fit = vertical broken in horizontal layout

Firefox 4 and IE 8, both in Windows XP. In my first version of the comment, I said that it was working on Chrome, but it was because I forgot to set the container layout to horizontal.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Fit = vertical broken in horizontal layout

Thanks for the additional information.

Return to “Issues”