ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   Lua/XML Help (https://www.esoui.com/forums/forumdisplay.php?f=175)
-   -   Lua Backdrop SetEdgeSize()? (https://www.esoui.com/forums/showthread.php?t=2159)

Specko 08/20/14 10:56 PM

Lua Backdrop SetEdgeSize()?
 
Hello All,

Is there a really quick way to go about setting the edge size for a control's backdrop? Something like: SetEdgeSize(1)? I'm trying rewrite something while using XML as little as possible. Previously I just set it that way.

Thanks for your time.

merlight 08/21/14 03:15 AM

Try SetInsets(*number* _left_, *number* _top_, *number* _right_, *number* _bottom_)

Specko 08/23/14 03:59 PM

Quote:

Originally Posted by merlight (Post 11734)
Try SetInsets(*number* _left_, *number* _top_, *number* _right_, *number* _bottom_)

Unfortunately, this does not appear to affect the edge size.

Garkin 08/23/14 04:05 PM

From the ESOUIDocumentationP3.txt:

BackdropControl:
* SetEdgeTexture(string filename, integer edgeFileWidth, integer edgeFileHeight, integer edgeSize, integer edgeFilePadding)

Specko 08/23/14 09:53 PM

Quote:

Originally Posted by Garkin (Post 11791)
From the ESOUIDocumentationP3.txt:

BackdropControl:
* SetEdgeTexture(string filename, integer edgeFileWidth, integer edgeFileHeight, integer edgeSize, integer edgeFilePadding)

Thank you again, that got me to what I needed!


All times are GMT -6. The time now is 11:19 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI