How to make Textfield unscrollable #32
Answered
by
NoryiE
luiz00martins
asked this question in
Q&A
|
I have a layout, with some lines of Textfields and Dropdowns. There are enough lines such that you may need to scroll the frame. Scrolling with the mouse on the main Frame works, as well as scrolling with the mouse on the Dropdown. However, scrolling on the Textfield doesn't, as it tries to scroll the Textfield, instead of the Frame behind it: Minecraft_.1.16.5.-.Singleplayer.2022-10-16.22-48-13.mp4Is there a way to make the Textfields unscrollable, such that the Frame is scrolled instead? |
Answered by
NoryiE
Oct 17, 2022
Replies: 1 comment
|
You could add :onScroll(function() return false end) to your textfield. Maybe thats what you're looking for. |
0 replies
Answer selected by
luiz00martins
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You could add :onScroll(function() return false end) to your textfield. Maybe thats what you're looking for.