| Blockland Forums > Modification Help |
| GUI Scroll control and the child, GUI MLText control |
| (1/2) > >> |
| elm:
I don't know why but what property should be set to have the scroll control automatically scroll down as new text is being inputted. For some reason it scrolls all the way back up to the top. Thanks. Edit, I've tried a few things, but they have not worked. |
| Greek2me:
You need to call %scrollCtrl.scrollToBottom(); |
| elm:
--- Quote from: Greek2me on June 13, 2012, 11:20:08 PM ---You need to call %scrollCtrl.scrollToBottom(); --- End quote --- Yeah but that is hacky and doesn't look right. I tried calling it instantly, but it was too fast, and it scrolled to the bottom, then back up. With a schedule, it looks terrible, doesn't look correct. Anything else? |
| Lugnut:
--- Quote from: Greek2me on June 13, 2012, 11:20:08 PM ---You need to call %scrollCtrl.scrollToBottom(); --- End quote --- oh my god yessssssssssssssss i've needed this so bad!!! |
| elm:
--- Quote from: Lugnut1206 on June 14, 2012, 12:37:03 AM ---oh my god yessssssssssssssss i've needed this so bad!!! --- End quote --- .dump(); is your friend. |
| Navigation |
| Message Index |
| Next page |