LoTROInterface

LoTROInterface (https://www.lotrointerface.com/forums/index.php)
-   Lua Programming Help (L) (https://www.lotrointerface.com/forums/forumdisplay.php?f=50)
-   -   Re-sizeable quickslot icons now possible! (https://www.lotrointerface.com/forums/showthread.php?t=1320)

MrJackdaw 12-17-2010 11:53 PM

Re-sizeable quickslot icons now possible!
 
I am working on a new version of BevyOBars - completely new from the ground up - and was messing with SetStretchMode. The following lines allows re-sizeable quickslot icons!

self.Quickslot[n]:SetStretchMode(1)

No doubt others will get a workable product out faster than I as this new version is going to take a *lot* of work - but hooray! At Last!

And if this is common knowledge I will feel such a fool...:rolleyes:

EDIT: Any size setting must come AFTER the SetStretchMode line...
EDIT: Any time a shortcut is changed the quickslot re-sets. To overcome this the ShortCutChanged() event has proved useful.

Deewe 12-27-2010 06:41 PM

Now you have something there, I'd say finally!


All times are GMT -5. The time now is 12:02 AM.

vBulletin® - Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© MMOUI