Thread Tools Display Modes
08/20/14, 10:56 PM   #1
Specko
 
Specko's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 16
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.
  Reply With Quote
08/21/14, 03:15 AM   #2
merlight
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 671
Try SetInsets(*number* _left_, *number* _top_, *number* _right_, *number* _bottom_)
  Reply With Quote
08/23/14, 03:59 PM   #3
Specko
 
Specko's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 16
Originally Posted by merlight View Post
Try SetInsets(*number* _left_, *number* _top_, *number* _right_, *number* _bottom_)
Unfortunately, this does not appear to affect the edge size.
  Reply With Quote
08/23/14, 04:05 PM   #4
Garkin
 
Garkin's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 832
From the ESOUIDocumentationP3.txt:

BackdropControl:
* SetEdgeTexture(string filename, integer edgeFileWidth, integer edgeFileHeight, integer edgeSize, integer edgeFilePadding)
  Reply With Quote
08/23/14, 09:53 PM   #5
Specko
 
Specko's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 16
Originally Posted by Garkin View Post
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!
  Reply With Quote

ESOUI » Developer Discussions » Lua/XML Help » Lua Backdrop SetEdgeSize()?

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off