HeroEngine Forums
Welcome, Guest. Please login or Register for HeroCloud Account.
Pages: 1 [2]

Author Topic: _sortableCollection wonky scrollbar behaviour  (Read 4337 times)

Thazager

  • General Accounts
  • *
  • Posts: 1156
  • Never stop learning
    • View Profile
    • Heroes and Villains MMORPG
Re: _sortableCollection wonky scrollbar behaviour
« Reply #15 on: Sep 28, 13, 12:24:06 AM »

When you have 2 client areas they might be conflicting, both of them trying to display what is in their client section. First one will try to show what it has, then the other will try to show what they have, and since they both are trying to show, it might cause the flickering.
« Last Edit: Sep 28, 13, 12:27:02 AM by Thazager »
Logged

AWW_boss

  • General Accounts
  • *
  • Posts: 846
  • gdfgd
    • View Profile
Re: _sortableCollection wonky scrollbar behaviour
« Reply #16 on: Sep 28, 13, 12:49:08 AM »

But i don't have two, i just have one client area.
Logged

Thazager

  • General Accounts
  • *
  • Posts: 1156
  • Never stop learning
    • View Profile
    • Heroes and Villains MMORPG
Re: _sortableCollection wonky scrollbar behaviour
« Reply #17 on: Sep 28, 13, 01:06:38 AM »

Good, then building your own _sortableCollection from scratch wont cause flickering.
Logged

AWW_boss

  • General Accounts
  • *
  • Posts: 846
  • gdfgd
    • View Profile
Re: _sortableCollection wonky scrollbar behaviour
« Reply #18 on: Sep 28, 13, 01:36:28 AM »

Nevertheless, i think this is a bug. To reproduce you'd need to add _collection (class GUICollection, dockmode TOP) to a _scrollablePanel (GUIScrollablePanel) and make it scroll.
Now if someone could reproduce it, to confirm that it is not only me that is seeing it, it would be nice.
« Last Edit: Sep 28, 13, 10:06:57 AM by AWW_boss »
Logged

AWW_boss

  • General Accounts
  • *
  • Posts: 846
  • gdfgd
    • View Profile
Re: _sortableCollection wonky scrollbar behaviour
« Reply #19 on: Sep 28, 13, 02:13:42 AM »

Here is new development. If i resize client screen the scrollbar pops out and starts working correctly. So the question is... what is it that the resize does to the client that i could mimic. It is not forceLayout, because i tried all sorts of forced layout combinations all over my code.
« Last Edit: Sep 28, 13, 10:07:20 AM by AWW_boss »
Logged

AWW_boss

  • General Accounts
  • *
  • Posts: 846
  • gdfgd
    • View Profile
Re: _sortableCollection wonky scrollbar behaviour
« Reply #20 on: Sep 28, 13, 07:54:46 AM »

It seems that the solution to my problem was rather simple.

Before putting a collection inside something that scrolls,  i packed it inside a simple panel ... now i have something like this:


collection (dockmode FILL) which is inside panel (dockmode UP) which is inside scrollablePanel


i have a good feeling about this
Logged
Pages: 1 [2]