Ace3

80 - AceGUIWidget-Window automatic resizing

AceGUIWidget-Window has a few things that could be improved.
I'm not sure if this is even remotely possible, but hopefully they can be fixed.

Issue #1:
The window does not resize to fit overflowing content.

I'm not sure how this should be done, theoretically. Right now you open a window of size X+Y and fill it with widgets, then if you are unlucky and someone is using a different font with different sizes etc, the content might overflow the window and spill out at the bottom.

Should it resize automatically then? I think so. It just makes sense. Even though the developer said he wanted a window X+Y size, obviously he wants the controls contained in the window no matter what.
But what about sizing it down when there is lots of space left over at the bottom or wherever? I don't think it should shrink automatically, even if there is.

Issue #2:
There's no way to prevent manual resizing of the window.

Right now the Window always has a resize handle at the bottom. Some addons might not want this, so why not add in :SetResizable or similar to prevent the user from being able to manually resize it?

User When Change
Nevcairiel Sat, 26 Sep 2009 12:03:48 Changed status from New to Accepted
mikk Fri, 25 Sep 2009 12:32:40 Changed name from AceGUIWidget-Window problems to AceGUIWidget-Window automatic resizing

Changed type from Defect to Enhancement
Rabbit Fri, 25 Sep 2009 12:27:33 Create

You must login to post a comment. Don't have an account? Register to get one!

  • 1 comment
  • Avatar of Nevcairiel Nevcairiel Sat, 26 Sep 2009 12:04:02

    #1 can't be done, i guess we can do #2 though.

    Last edited on 26 Sep 2009 by Nevcairiel
  • 1 comment

Facts

Last updated on
26 Sep 2009
Reported on
25 Sep 2009
Status
Accepted - Problem reproduced / Need acknowledged.
Type
Enhancement - A change which is intended to better the project in some way
Priority
Medium - Normal priority.
Component
AceGUI-3.0

Reported by

Possible assignees