Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!

[UI] Scrollpane sizing and scrollbars

Java Warlord
Joined
Nov 17, 2014
Messages
4,906
oIlsfPU.png
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.


pnCnjYc.gifv
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.

@Arbiter
 
Mod Automation
Joined
Jul 26, 2013
Messages
3,053
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. :)
 
Java Warlord
Joined
Nov 17, 2014
Messages
4,906
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. :)
I didn't know that, alright then :)
One small thing on the side:
xQAhGc2.gif

The Bot Store entity can not be clicked/selected like the other ones, not sure if that's intended.
 
Mod Automation
Joined
Jul 26, 2013
Messages
3,053
I didn't know that, alright then :)
One small thing on the side:
Imgur GIF
The Bot Store entity can not be clicked/selected like the other ones, not sure if that's intended.
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.
 
Everything implemented.
 
Top