Bug Grouplist Container.HasNext always is True if elements have auto height value
#1
Container.HasNext is always set to True when the textbox has set the height to auto. HasPrevious works well.
The pagecontrol scrollbar has no issues to recognize when the end of the grouplist is reached.

Example:

Code:
            <control type="grouplist" id="10">
                <centerleft>50%</centerleft>
                <centertop>50%</centertop>
                <width>788</width>
                <height>452</height>
                <align>left</align>
                <autoscroll>false</autoscroll>
                <orientation>vertical</orientation>
                <itemgap>5</itemgap>
                <pagecontrol>3000</pagecontrol>
                <control type="textbox">
                    <width>788</width>
                    <height min="50">auto</height>
                    <align>left</align>
                    <font>Reg36Spaced</font>
                    <autoscroll>false</autoscroll>
                    <textcolor>ffdadada</textcolor>
                    <label>[B][COLOR ffffffff]$INFO[Control.GetLabel(1),,[CR]][/B][/COLOR]</label>
                    <visible>IsEmpty(Window(home).Property(NoLabel))</visible>
                </control>
                <control id="5" type="textbox">
                    <centerleft>50%</centerleft>
                    <centertop>50%</centertop>
                    <width>788</width>
                    <height>auto</height>
                    <align>left</align>
                    <font>Reg36Spaced</font>
                    <textcolor>ffdadada</textcolor>
                    <autoscroll>false</autoscroll>
                </control>
            </control>


Edit:
Maybe adding the info bool HasNext and HasPrevious to the scrollbar control would be useful for such cases?

Edit2:
Also noticed that Container.HasPrevious and Container.CurrentPage is returning False/Page#1 even if the textbox is on page 2 in some cases.
Main: Lancool II Mesh  - Ryzen 9 5900x - MSI x570 Unify - Zotac RTX 3080 AMP HOLO - 32GB Trident Z Neo 3600 CL16 -  EVO 960 M.2 250GB / EVO 940 250GB / MX100 512GB /  Crucial P1 2TB / WD Blue 3D Nand 2TB 
Sound: Saxx AS30 DSP - Beyer Dynamic Custom One Pro 
TV: Nvidia Shield 2019 Pro- Adalight 114x LEDs - Sony 65XG9505 - Kodi / Emby - Yamaha RX-V683 - Heco Victa 700/101/251a + Dynavoice Magic FX-4
Server: i3 Skylake - 8GB - OMV4 - 22TB Storage
Reply

Logout Mark Read Team Forum Stats Members Help
Grouplist Container.HasNext always is True if elements have auto height value0