Hi Todd, > In this case, it's not applying to a component, but a table view column. > Components already have min/max preferred size properties, which buys us > similar functionality for components. I don't think this applied to table > pane columns either, since (a) relative width columns in a table pane are > guaranteed to get *at least* their preferred width, and (b) the user can't > resize table pane columns (there's no table pane column header). Ok.
>> And in some cases could be useful to have lists, text fields, etc >> become longer (if set a relative dimensioning for it), when its >> container have more space, but in this case could be useful to have >> optional attributes for minimum and maximum relative dimensions, and >> maybe also for absolute. >> > > This isn't consistent with how layout works -- it's up to the container to > determine how to lay its children out. So table pane has the notion of > relative widths and will set the size of each cell component to be the size > of the cell, so you can get the behavior you describe already with any > component by using table pane. Ok, but to achieve an effect like this how can i do ? For example, can i set a text field to 80% of its container, so i i enlarge the window (and the container), also text field will be stretched ? Or maybe this could be applied to a Form containing all elements ... Or is this a case not so common, so it's not handled ? For example, new PCs have large screens and high resolutions, so having an application that by default run at 800x600 or 1024x768 is Ok for most traditional users, but for new users who have higher resolutions this could be a useful feature. What do you (and others) think ? Thanks, Sandro
