Open main menu
Home
Random
Log in
Settings
About AddOn Studio
Disclaimers
AddOn Studio
Search
Editing
WoW:XML/ResizeBounds
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{uixmlprop}} [[XML/ResizeBounds|ResizeBounds]] is a type used for setting resize contraints on a frame. == Inheritance == Inherited by: none, Inherits: none, Defined in: [[XML/Frame|Frame]] == Elements == * <minResize> ([[XML/Dimension|Dimension]]) - lower bounds of a frames size * <maxResize> ([[XML/Dimension|Dimension]]) - upper bounds of a frames size == Attributes == none == Summary == [[XML/ResizeBounds|ResizeBounds]] element type facilitates the 'Layout' mechanism in the WoW UI. ResizeBounds works by setting a minimum and maximum bounds for how a frame can be resized. === Example === <Frame name="MyFrame"> <Size x="200" y="200"/> <[[XML/ResizeBounds|ResizeBounds]]> <minResize x="100" y="100"/> <maxResize x="400" y="600"/> </ResizeBounds> <Layers> <Layer> <[[XML/Texture|Texture]] file="MyTexture"> <Anchors> <Anchor point="TOPLEFT"/> <Anchor point="BOTTOMRIGHT"/> </Anchors> </Texture> </Layer> </Layers> </Frame> This example will create a frame with size of 200,200 and not allow automatic resize to be smalle than 100,100 or larger than 400,600, drawing a texture which will stretch with the frame. And this demonstrates use of [[XML/ResizeBounds|ResizeBounds]] using '''inline''' [[XML/Dimension]] values for 'minResize' and 'maxResize'. === Details ===
Summary:
Please note that all contributions to AddOn Studio are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
AddOn Studio Wiki:Copyrights
for details).
Submissions must be written by you, or copied from a public domain or similar free resource (see
AddOn Studio Wiki:Copyrights
for details).
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Apinav
(
edit
)
Template:Editlink
(
edit
)
Template:Tocright
(
edit
)
Template:Uixmlprop
(
edit
)