Problem matching scrollbar to scrollable area

  • Hi guys,

    I'm trying to create a complete menu system whereby a user can select a category (e.g tyres) from a sidebar and this opens a fly-out menu with a sub-category (e.g sports-tyres).

    When selected the sub-category items display in the content bar at the bottom of the screen. This is a scrollable bar that displays images of the sub-category items. It is created on the fly and the area scrolls in sync with the scrollbar. The scroll bar also gives a numerical display of the current sub-category item at the bottom of the screen - In the image uploaded called sliderProblem4.png this is showing as 250/250.

    The problem is the content bar only scrolls to item 223 although there are 250 items in the subcategory.

    This has been bugging me for a few days now and I'm no closer to understanding why it's doing this.

    Does anyone have any ideas on where I have gone wrong?

    cheers for any help !

    ( menu screen)

    ( Editor Screenshots)

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)