U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » Splitter » Bug: adding HScrollBar uses sbar as item
Re: Bug: adding HScrollBar uses sbar as item [message #49767 is a reply to message #49740] Wed, 25 April 2018 18:12 Go to previous messageGo to previous message
luoganda is currently offline  luoganda
Messages: 217
Registered: November 2016
Experienced Member
it can't be so much like a regular widget(in point of view when using it as scrollBar,not item),
because normally when AddFrame is used to add scrollbar to some ctrl, no SizePos etc is needed for it to pos it correctly.
I meant exactly as it's written in original code that i posted.
<<I want to add VScrollBar to Splitter wia AddFrame, so that inner ctrls would be scrollable>>,
and they would be(for now) scrollable manually because of customization(automatically is probably not possible for now).
Similar effect is(could) be used with ColumnList(which already has scrollbars),
but i want to explicitly customize Splitter for this (possibly without workarounds).
Adding Splitter.AddFrame(VScrollBar) makes similar effect like posted screenshot, but with scrollbar a little out of place.
I thought this is a bug - but it would be a neat feature if scrollbars could be added to Splitter, like for TopWindow.
I don't know though, what effect is with other controls if scrollbars are added to it, eg Ctrl - probably works as in TopWindow.

[Updated on: Wed, 25 April 2018 18:19]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How and where to set position when using layouts?
Next Topic: Background of items in splitter is sometimes is incorrectly painted black
Goto Forum:
  


Current Time: Fri Jun 12 10:15:00 GMT+2 2026

Total time taken to generate the page: 0.00966 seconds