Reduce indent size in code example
(Created page with 'Derived from: Frame Elements: FontString, HighlightColor, TextInsets Attributes: letters, blinkSpeed,…') |
(Reduce indent size in code example) |
||
| Line 31: | Line 31: | ||
====Example==== | ====Example==== | ||
Included in [[XML/Frame/Backdrop|Backdrop]] | Included in [[XML/Frame/Backdrop|Backdrop]] | ||
<EditBox name="$parentEditBox" letters="80"> | <EditBox name="$parentEditBox" letters="80"> | ||
<Size> | |||
<AbsDimension x="100" y="32"></AbsDimension> | |||
</Size> | |||
<Anchors> | |||
<Anchor point="LEFT"> | |||
<Offset> | |||
<AbsDimension x="50" y="0"></AbsDimension> | |||
</Offset> | |||
</Anchor> | |||
</Anchors> | |||
<Layers> | |||
<Layer level="BACKGROUND"> | |||
<Texture file="Interface\ChatFrame\UI-ChatInputBorder-Left"> | |||
<Size> | |||
<AbsDimension x="75" y="32"/> | |||
</Size> | |||
<Anchors> | |||
<Anchor point="LEFT"> | |||
<Offset> | |||
<AbsDimension x="-10" y="0"/> | |||
</Offset> | |||
</Anchor> | |||
</Anchors> | |||
<TexCoords left="0" right="0.2" top="0" bottom="1.0"/> | |||
</Texture> | |||
<Texture file="Interface\ChatFrame\UI-ChatInputBorder-Right"> | |||
<Size> | |||
<AbsDimension x="75" y="32"/> | |||
</Size> | |||
<Anchors> | |||
<Anchor point="RIGHT"> | |||
<Offset> | |||
<AbsDimension x="10" y="0"/> | |||
</Offset> | |||
</Anchor> | |||
</Anchors> | |||
<TexCoords left="0.7" right="1.0" top="0" bottom="1.0"/> | |||
</Texture> | |||
</Layer> | |||
</Layers> | |||
<Scripts> | |||
<OnLoad></OnLoad> | |||
</Scripts> | |||
<FontString inherits="ChatFontNormal"></FontString> | |||
</EditBox> | </EditBox> | ||
[[Image:Editbox.jpg]] | [[Image:Editbox.jpg]] | ||
[[Category:XML elements]] | [[Category:XML elements]] | ||