Dad72 Posted June 5, 2017 Share Posted June 5, 2017 Hello, Is it possible to make in a rectangle a scrool for to have a fixed size rectangle and more element inside that is beyond the contained? Thanks Quote Link to comment Share on other sites More sharing options...
Wingnut Posted June 5, 2017 Share Posted June 5, 2017 Containers, overflows, and wraps. Scrollbars. Container paddings and margins. erf. Usually, when someone asks about such things, the GUI author goes insane. Do you have any overflow containers in CastorGUI, Dad? Rumor is... they are difficult to code. Lots of measuring, likely. Sorry for interruption. Quote Link to comment Share on other sites More sharing options...
Dad72 Posted June 6, 2017 Author Share Posted June 6, 2017 8 hours ago, Wingnut said: Do you have any overflow containers in CastorGUI, Dad? Yes, But in html and css it is fairly easy (use hoverflow:auto; A second container in the interior of a container of a fixed size) <div style="width:100px;height:100px;"> <div style="width:100%;height:100%;hoverflow:auto;"> //content scroolable </div> </div> Wingnut 1 Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted June 7, 2017 Share Posted June 7, 2017 As @Wingnut mentioned before, this is not an easy task. Perhaps in the future. For now I concentrate on making the current state stable enough As you know writing an UI lib is a complex task because everyone wants something specific but no one will contribute Quote Link to comment Share on other sites More sharing options...
Dad72 Posted June 7, 2017 Author Share Posted June 7, 2017 Yes, it's true that this is not a simple UI lib. I'm more comfortable with HTML UI, but to draw on the canvas, I do not know yet. I do not know how I can contribute. . But I hope other users comfortable with this, contribute. Quote Link to comment Share on other sites More sharing options...
Wingnut Posted June 7, 2017 Share Posted June 7, 2017 Sounds like a nice project for you, D72. Extend bjsGUI container class... create overflowContainer. Fun project. I'll watch from my hammock. I have a little issue with girls in summertime shorts. It is difficult to concentrate on code, at this time. heh Plenty of fat gets exposed here in the USA, too. McDonald's Mamas... porkers. Gotta be careful. Sometimes they are SO BIG, that they block-out the sun and cause a mini ice-age in the Kroeger's parking lot. Don't get caught in THAT... you'll freeze to death. Looks like my comedy attempts... killed the thread. Normal. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.