Re: [SailfishDevel] How to properly hide and show UI elements?

2014-07-18 Thread Dmitriy Purgin
so you try to hide a component by setting its height = 0? have you tried visible = false? 2014-07-18 16:30 GMT+06:00 Marcin M. marmistrz...@gmail.com: I'm want to display some elements only when needed. So I did it like this (the components are inside a Column): TextSwitch

Re: [SailfishDevel] How to properly hide and show UI elements?

2014-07-18 Thread marmistrzmar
Visible = false is instant so it can't be animated. It won't look really nice without animation On 18.07.2014 12:42 Dmitriy Purgin wrote: so you try to hide a component by setting its height = 0? have you tried visible = false? 2014-07-18 16:30 GMT+06:00 Marcin M. marmistrz...@gmail.com:

Re: [SailfishDevel] How to properly hide and show UI elements?

2014-07-18 Thread sfietkonstantin
: Sailfish OS Developers devel@lists.sailfishos.org Envoyé: Vendredi 18 Juillet 2014 13:09:37 Objet: Re: [SailfishDevel] How to properly hide and show UI elements? Visible = false is instant so it can't be animated. It won't look really nice without animation On 18.07.2014 12:42 Dmitriy

Re: [SailfishDevel] How to properly hide and show UI elements?

2014-07-18 Thread Marcin M.
. - Mail original - De: marmistrz...@gmail.com À: Sailfish OS Developers devel@lists.sailfishos.org Envoyé: Vendredi 18 Juillet 2014 13:09:37 Objet: Re: [SailfishDevel] How to properly hide and show UI elements? Visible = false is instant so it can't be animated. It won't look really nice

Re: [SailfishDevel] How to properly hide and show UI elements?

2014-07-18 Thread Tomasz Sterna
Dnia 2014-07-18, pią o godzinie 16:31 +0200, Marcin M. pisze: The Rectangle hides and so Button's label does. It doesn't work with the Button. And after enabling and disabling the effect is similar as previously. The button doesn't react if clicked. Seems I'll have go for opacity, still the

Re: [SailfishDevel] How to properly hide and show UI elements?

2014-07-18 Thread Marcin M.
Oh, right. It was so trivial. I totally forgot about it. Thanks! -- Marcin 2014-07-18 17:10 GMT+02:00 Tomasz Sterna to...@xiaoka.com: Dnia 2014-07-18, pią o godzinie 16:31 +0200, Marcin M. pisze: The Rectangle hides and so Button's label does. It doesn't work with the Button. And after