View Single Post
Old 08-15-2017, 09:43 AM   #10
mibes
Human being with feelings
 
Join Date: Apr 2017
Posts: 36
Default

Quote:
Originally Posted by MSK View Post

I pretty much started from scratch with the drop downs, I wasn't able to get any of the built-in ones working (though I didn't try very hard) and wanted to really customize it. So I just extended an IControl and manually handled all the drawing and click events. Since I wasn't sure if an IControl can change its own size, the menu is actually always as big as the opened size. When the menu is closed I pass any clicks on it to the selected control below it. I'd be happy to post some code, but it's not very pretty! I was definitely learning as I was going.

MSK
Well it's definitely inspired me to raise my game with the Cairo renderer!
mibes is offline   Reply With Quote