![]() |
Gui problem, help please
1 Attachment(s)
I'm new to the GuiCtrl functions and i am having a big problem.
PHP Code:
|
Fixed over AIM.
|
Quote:
|
instead of using x and y, you use
position = {x,y}; and instead of width and height use extent = {w,h}; and when you add another GuiShowImg you should use offsetx = x; (of the image) offsety = y; ^ is the same as offsetx just its the y. And it is a negative! |
Well for the extent and position thing, thats just the recommended thing. x, y, width, and height still work but they're really just reflections of extent and position.
offsetx and offsety are the x and y of the image inside the GUI Control relative to the GUI control itself. So having an offsetx of -32 means the Image inside the GUI Control with be moved 32 pixels to the left of the GUI Control. Only the part of the image inside the GUI Control area actually shows. |
| All times are GMT +2. The time now is 07:42 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.