cancel
Showing results for 
Search instead for 
Did you mean: 

ScrollWheelWithSelectionStyle resize at runtime

LRaim.1
Associate

I have a ScrollWheelWithSelectionStyle instanciated from the designer, so it is placed inside the ViewBase, with a certain size.

What I whant is to be able to resize it in height from the View. This is because when instanciated it is set to hold 4 elements, so it's height is ITEM_HEIGHT * 4, but in the View it might contain less than 4 elements.

if I try a ScrollWheel.setHeight(_SOMETHING_) it crashes.

Also tryed to change the number of elements from 4 to (let's say 3), but the items appear ofsetted from the top of a height equale to the height of the missing element.

What is the correct way to resize a ScrollWheel at runtime ?

Thanks

3 REPLIES 3
Alexandre RENOUX
Principal

Hello,

This is indeed an issue, we are investigating it and will try to fix it as soon as possible.

The Scroll List does not have this issue so in case a Scroll List is enough in your application you can use it instead.

Sorry for the inconvenience,

/Alexandre

LRaim.2
Associate II

Hello do you have any update on this issue ?

Hello,

The issue is currently taking care of.

The fix will be normally added to the next release of TouchGFX (4.14) which should be available first half of July.

Sorry for the inconvenience,

/Alexandre