[UI] Scrollpane sizing and scrollbars

Discussion in 'Developer Support' started by Savior, Feb 9, 2016.

  1. [​IMG]
    The scroll bars there should only be visible if the content does not fit into the scrollpane. In this picture, the scollpane(s) have plenty of space, yet do they show. And they show in the middle of the mainpane, and as the rest is empty aswell, you can fit it properly i guess.

    Here, when the titlepane of the accordeon is showing, the scrollbars show up and you can scroll, but there is no content to be scrolled through.
    I think you can fix that by proper sizing of the accordeon contents. Set the min size of the scrollpane content (the accordeon or its children) to pref size, and set the pref size to be computed.
    This way, the pref size gets calculated based on the children, and the pane can not be sized to anything smaller that that computed size. PLUS, the content would not unnecessarily fill the scrollpane, and the scrollbars would be hidden.

    Of course idk how you implemented this, but it looks like it could be enhanced by the things above.

  2. That page is the only one that is incomplete. It is not release ready, and will be heavily worked on before it is. Don't worry, you'll get a chance to critique it when it is. In the meantime please tear up the other pages. :)
  3. I didn't know that, alright then :)
    One small thing on the side:
    The Bot Store entity can not be clicked/selected like the other ones, not sure if that's intended.
  4. It's unimplemented and may be removed before initial public release if time does not permit its completion. And yeah the hover area inconsistency is known. It's just there as a placeholder right now for layout-ing.
    --- Double Post Merged, Apr 6, 2016, Original Post Date: Feb 9, 2016 ---
    Everything implemented.

Share This Page