You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@flex.apache.org by Cristian Spiescu <cr...@gmail.com> on 2013/06/16 02:18:49 UTC
Spark List minHeight and minWidth
Hello,
I have seen that minHeight/minWidth properties of a spark List cannot be
set under a certain lower limit (110 and 71).
If I set explicitly the height to a lower limit, it works. But if I set
minHeight="30" for example, the list won't shrink less than 110.
Have you got any hints on why this is happening and perhaps point me
some places where I should put breakpoints to investigate? If I'm lucky,
then I'll be able to make a subclass and override the behavior.
Thanks in advance!
Regards,
Cristian.
Re: Spark List minHeight and minWidth
Posted by Cristian Spiescu <cr...@gmail.com>.
Evyatar, Alex,
Thank you very much for your answers!
Best regards,
Cristian.
On 16.06.2013 07:55, Evyatar Ben Halevi-Arbib wrote:
> Example -
>
> <s:List id="someList">
> <s:layout>
> <s:VerticalLayout requestedMinRowCount="1" gap="0" />
> </s:layout>
> </s:List>
>
> Regards,
> Evyatar
>
>
> On Sun, Jun 16, 2013 at 8:53 AM, Evyatar Ben Halevi-Arbib <
> evyatarbh@gmail.com> wrote:
>
>> I would try setting the requestedMinRowCount property to 1.
>>
>> Good luck,
>> Evyatar
>>
>>
>> On Sun, Jun 16, 2013 at 3:18 AM, Cristian Spiescu <
>> cristian.spiescu@gmail.com> wrote:
>>
>>> Hello,
>>>
>>> I have seen that minHeight/minWidth properties of a spark List cannot be
>>> set under a certain lower limit (110 and 71).
>>> If I set explicitly the height to a lower limit, it works. But if I set
>>> minHeight="30" for example, the list won't shrink less than 110.
>>>
>>> Have you got any hints on why this is happening and perhaps point me some
>>> places where I should put breakpoints to investigate? If I'm lucky, then
>>> I'll be able to make a subclass and override the behavior.
>>>
>>> Thanks in advance!
>>>
>>> Regards,
>>> Cristian.
>>>
>>
Re: Spark List minHeight and minWidth
Posted by Evyatar Ben Halevi-Arbib <ev...@gmail.com>.
Example -
<s:List id="someList">
<s:layout>
<s:VerticalLayout requestedMinRowCount="1" gap="0" />
</s:layout>
</s:List>
Regards,
Evyatar
On Sun, Jun 16, 2013 at 8:53 AM, Evyatar Ben Halevi-Arbib <
evyatarbh@gmail.com> wrote:
> I would try setting the requestedMinRowCount property to 1.
>
> Good luck,
> Evyatar
>
>
> On Sun, Jun 16, 2013 at 3:18 AM, Cristian Spiescu <
> cristian.spiescu@gmail.com> wrote:
>
>> Hello,
>>
>> I have seen that minHeight/minWidth properties of a spark List cannot be
>> set under a certain lower limit (110 and 71).
>> If I set explicitly the height to a lower limit, it works. But if I set
>> minHeight="30" for example, the list won't shrink less than 110.
>>
>> Have you got any hints on why this is happening and perhaps point me some
>> places where I should put breakpoints to investigate? If I'm lucky, then
>> I'll be able to make a subclass and override the behavior.
>>
>> Thanks in advance!
>>
>> Regards,
>> Cristian.
>>
>
>
Re: Spark List minHeight and minWidth
Posted by Evyatar Ben Halevi-Arbib <ev...@gmail.com>.
I would try setting the requestedMinRowCount property to 1.
Good luck,
Evyatar
On Sun, Jun 16, 2013 at 3:18 AM, Cristian Spiescu <
cristian.spiescu@gmail.com> wrote:
> Hello,
>
> I have seen that minHeight/minWidth properties of a spark List cannot be
> set under a certain lower limit (110 and 71).
> If I set explicitly the height to a lower limit, it works. But if I set
> minHeight="30" for example, the list won't shrink less than 110.
>
> Have you got any hints on why this is happening and perhaps point me some
> places where I should put breakpoints to investigate? If I'm lucky, then
> I'll be able to make a subclass and override the behavior.
>
> Thanks in advance!
>
> Regards,
> Cristian.
>
Re: Spark List minHeight and minWidth
Posted by Alex Harui <ah...@adobe.com>.
You might need to change the minimums in the skin.
On 6/15/13 5:18 PM, "Cristian Spiescu" <cr...@gmail.com> wrote:
>Hello,
>
>I have seen that minHeight/minWidth properties of a spark List cannot be
>set under a certain lower limit (110 and 71).
>If I set explicitly the height to a lower limit, it works. But if I set
>minHeight="30" for example, the list won't shrink less than 110.
>
>Have you got any hints on why this is happening and perhaps point me
>some places where I should put breakpoints to investigate? If I'm lucky,
>then I'll be able to make a subclass and override the behavior.
>
>Thanks in advance!
>
>Regards,
>Cristian.