Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Scrolling panel using horizontal scroll bar

How can I apply a horizontal scroll bar to a Panel?

I'm working on 2d tiled map editor and I'm using a Panel to hold the contents. When my map is bigger than my panel it just goes off and becomes invisible, would it be possible to apply custom scroll bars?

like image 917
Semas Avatar asked Apr 07 '26 23:04

Semas


1 Answers

The Panel is derived from ScrollableControl. So there is a property AutoScroll. Just set it to true and the rest will be done automagically.

like image 171
Oliver Avatar answered Apr 10 '26 18:04

Oliver



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!