Thread Tools Display Modes
05-09-09, 01:22 AM   #1
tsadok
An Aku'mai Servant
 
tsadok's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2007
Posts: 32
Creating a resizable window

I'd like the main frame of my new addon to be resizable. At the moment clicking and dragging just moves the frame around. What other components does it need? Something like the resize corner in the picture?

Thanks!

Edit: Of course I only needed to post this to think about it a little more. Does anyone have experience with Frame:StartSizing("point") ?
Attached Images
 

Last edited by tsadok : 05-09-09 at 01:30 AM.
  Reply With Quote
05-09-09, 03:52 AM   #2
Cladhaire
Salad!
 
Cladhaire's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Jul 2005
Posts: 1,935
Yes, you can download and see WowLua for an example of a resizeable frame.
__________________
"There's only one thing that I know how to do well and I've often been told that you only can do what you know how to do well, and that's be you-- be what you're like-- be like yourself. And so I'm having a wonderful time, but I'd rather be whistling in the dark..."
  Reply With Quote
05-09-09, 09:13 AM   #3
tsadok
An Aku'mai Servant
 
tsadok's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2007
Posts: 32
self:GetParent():StartSizing()

That's just what I wanted. Thank you!
  Reply With Quote

WoWInterface » Developer Discussions » General Authoring Discussion » Creating a resizable window


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