1. #1

    WoWAce3 question

    Hello!

    I'm having trouble turning off what seems to be the default option to resize my main frame in-game for an addon I'm creating. Anyone know what function I need to call to achieve this?

  2. #2
    what do you mean by your main frame?

  3. #3
    The Parent Frame, the one that holds all my widgets/other frames.

  4. #4
    I have no idea what your Parent Frame actually is. So I'll just guess that you've used AceConfig-3.0 and AceConfigDialog-3.0 to create your own options GUI.....

    You can use AceConfigDialog:SetDefaultSize(appName, width, height) to change the default size. But I don't think you can turn off the automatic resizing.

  5. #5
    I've been using AceGUI-3.0

  6. #6
    In that case, you should be able to override any resizing by calling frame:SetWidth(width) and frame:SetHeight(height) where frame is your main frame.

  7. #7
    Deleted
    You could try frame:EnableResize(false)

    It's undocumented though, don't know if it works.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •