Or possibly, use CSS for layout and set the widget's class/style to
something with:

display: none

That would completely collapse it.

On Tue, Dec 6, 2011 at 8:13 PM, Koen Deforche <k...@emweb.be> wrote:

> Hey Jason,
>
> 2011/12/5 Jason H <scorp...@yahoo.com>:
> > I'm coming from Qt and when we hide an item on a form, the layout is
> > re-evaluated. Example: When a vertical layout is used, if any of the
> items
> > is hidden, the space taken up by the recently hidden item is given to the
> > layout and items are repositioned accordingly.
> > Currently, the item disappears, but the space for it remains. Is there a
> way
> > to do the Qt way in Wt?
>
> Yes, this behavior is indeed deviating from Qt's expected behavior.
>
> The fix requires more interaction between the layout manager and
> widget changes, something currently not foreseen.
>
> Thus you cannot do this in Wt with the current version. Your options
> are to either delete the widget (which you might not want), or not use
> a layout manager in this case.
>
> Regards,
> koen
>
>
> ------------------------------------------------------------------------------
> Cloud Services Checklist: Pricing and Packaging Optimization
> This white paper is intended to serve as a reference, checklist and point
> of
> discussion for anyone considering optimizing the pricing and packaging
> model
> of a cloud services business. Read Now!
> http://www.accelacomm.com/jaw/sfnl/114/51491232/
> _______________________________________________
> witty-interest mailing list
> witty-interest@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>
------------------------------------------------------------------------------
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to