modnaut / primary

0 stars 0 forks source link

Container - Absolute Layout IE10 #38

Closed modnaut closed 11 years ago

modnaut commented 11 years ago

Elements end up overriding each other.

containerabsolute

modnaut commented 11 years ago

Should be two text areas showing.

modnaut commented 11 years ago

Looks funky with container layout = "HBoxLayout" too.

dannycohn commented 11 years ago

The first XML didn't work because you need and x and y for each item in an absolute layout. Admittedly until I fixed it tonight you didn't have a way to add the x and y attributes.

The second XML didn't look right because you're trying to set a width of 50, but the default labelWidth is 100, and the 50 would be the width for the entire component, label and field, so it breaks. Setting the width to like 150, or reducing the labelWidth, works.