Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
WoW
Talk
English
Views
Read
Edit
History
More
Search
Navigation
Home
Random page
Help using wiki
Editions
for WoW
for WildStar
for Solar2D
Documentation
for WoW
for WildStar
Reference
WoW
⦁ FrameXML
⦁ AddOns
⦁ API
⦁ WoW Lua
WildStar
⦁ AddOns
⦁ API
⦁ WildStar Lua
Engine
Tools
What links here
Related changes
Special pages
Page information
Site
Recent Changes
Editing
WoW:XML/RelValue
Jump to navigation
Jump to search
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!
{{uixmltype}} ''Important Note: there is no known use of this property or examples of it actually being used in a working way.'' [[XML/RelValue|RelValue]] is a type used for defining a single value relate to relating to size or position in the the UI coordinate system. See [[XML/RelDimension|RelDimension]] and [[XML/Dimension|Dimension]] for value pair use types. RelValue is used for properties such as [[XML_properties#FontHeight|FontHeight]] and [[XML_properties#TileSize|TileSize]]. == Inheritance == Inherited by: none, Inherits: none, Defined in: [[XML/Value|Value]] == Elements == none == Attributes == * val (float) - defines a scalar value == Summary == [[XML/RelValue|RelValue]] facilitates the 'Layout' mechanism in the WoW UI. See the [[XML/AbsDimension|AbsDimension]] and [[XML/Dimension|Dimension]] for numerical value pairs use types. RelValue is the 'scalar' property version in [[XML/Value|Value]], where <[[XML/AbsValue|AbsValue]]> is the 'unit based' value property version. === Example === ''Note: this is an example for documentation completeness purposes. RelValue has no known working use at this time.'' <Frame name="MyFrame"> <Size x="200" y="200"/> <Layers> <Layer> <[[XML/FontString|FontString]] text="Bob" inherits="MyFont"> <Size x="100" y="100"/> <[[XML/Value|FontHeight]]> <[[XML/RelValue|RelValue]] val="12.5"/> </FontHeight> <Anchors> <Anchor point="TOP"/> </Anchors> </FontString> </Layer> </Layers> </Frame> This example demonstrates use of [[XML_properties#FontHeight|FontHeight]] using '''Rel''' values. === 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:Uixmltype
(
edit
)