3.2.0

Floating AW.Group with minimum width

Hi,

I currently use the "Groups" to give my app a nicer feeling, and initially they had a fixed width.. now i have to change to a floating design and wondering how can define a minimum width for the groupbox.

I would also basically need get the width from a div and substract about 20px from that width!

eg.
this div is controlled via css -- width: 100%; min-width: 900px

<div id="content"><span id="awSomethg"></span>

obj.setStyle('width', 'content-20px')

i think if i could substract the width via e.g. a javascript this would also sove the initial question on how to float and set a minimum width for the groupbox.

thanks!
yet another Alex
August 5,
You may also try -

display: block;
width: auto;
margin: 0px 10px;

Check if IE6 supports min-width (as far as I remember it does not).
Alex (ActiveWidgets)
August 5,

This topic is archived.

See also:


Back to support forum