Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

Making resizable frames

Last wiki revision 2022-09-01

Resizable frames can be resized by holding down a specified mouse button over a frame and then moving the mouse to resize the frame in a specified direction. This tutorial shows example code to make a resizable window.

Register a frame for and :

Set the and size limits:

Monitor and to trigger the resizing:

Alternatively, place buttons in each corner that monitor and : To create a resizable frame in xml, this is a basic example.

  • defaults moving the "BOTTOMRIGHT" point, but accepts an argument to move another instead.
  • may be used to place similar-looking handles in all corners.

Source

https://warcraft.wiki.gg/wiki/Making_resizable_frames · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.