Blockland Forums
Home
Help
Login
Register
Blockland Forums
»
Blockland Forums
»
Modification Help
»
Changing GUI Position
« previous
next »
Print
Pages: [
1
]
Author
Topic: Changing GUI Position (Read 853 times)
Vaux
January 15, 2014, 05:42:37 PM
Setting a GUI/Swatch/Button/TextBox/etc's
.position
works
occasionally
for me. I know that you're not supposed to manually set anything's
.position
but instead find a function that will update it to display in real-time. I can't seem to find this function for a GUI though.
Ad Bot
Advertisement
Greek2me
January 15, 2014, 05:48:17 PM
Use the ::resize(%posX, %posY, %extentX, %extentY) method.
Vaux
January 16, 2014, 11:08:40 PM
Quote from: Greek2me on January 15, 2014, 05:48:17 PM
Use the ::resize(%posX, %posY, %extentX, %extentY) method.
Tried that but it too worked sometimes and not others for some reason.
Is there a function I'm forgetting that forces the GUI's properties to update?
Port
January 17, 2014, 06:02:55 AM
That function should work in all cases; you're probably doing something wrong elsewhere.
Print
Pages: [
1
]
« previous
next »
Blockland Forums
»
Blockland Forums
»
Modification Help
»
Changing GUI Position