Thread Tools Display Modes
Prev Previous Post   Next Post Next
07-13-17, 06:23 AM   #1
Layback_
An Onyxian Warder
Join Date: Feb 2016
Posts: 358
Have anyone tried to externally set size or point of windows created by "Details!"?

Hi all,

Title says pretty much all.

I'm currently trying to externally set size and position of windows created by "Details!".

AFAIK, Details, thankfully, offers plenty of APIs for developers to deal with. However, I could have not found an API that fulfills my need.

Thus, I have tried to modify its SV externally and also attempted to forcibly ClearAllPoints(), SetPoint() and SetSize() (externally as well), but didn't work out

I'm pretty sure there must be a way to solve this since those windows are also frames.

Could I get some help?

Thank you!


*EDIT: Seems like I figured out for sizing.

Each Details' window object has SetSize function embedded, but not for positioning

Lua Code:
  1. local window = Details:GetInstance(1);
  2. window:SetSize(x, y);

However, it would mess up those built in sticky window feature if I set size this way.

Last edited by Layback_ : 07-13-17 at 07:37 AM.
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » Have anyone tried to externally set size or point of windows created by "Details!"?


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