mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-27 16:34:45 +00:00
30 lines
1.1 KiB
XML
30 lines
1.1 KiB
XML
<!-- $Id: LibUIDropDownMenu.xml 13 2017-05-25 04:26:27Z arith $ -->
|
|
<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
|
|
..\FrameXML\UI.xsd">
|
|
<Script file="LibUIDropDownMenu.lua"/>
|
|
<Include file="LibUIDropDownMenuTemplates.xml"/>
|
|
<Script file="LibEasyMenu.lua"/>
|
|
<Button name="L_DropDownList1" toplevel="true" frameStrata="FULLSCREEN_DIALOG" inherits="L_UIDropDownListTemplate" hidden="true" id="1">
|
|
<Size>
|
|
<AbsDimension x="180" y="10"/>
|
|
</Size>
|
|
<Scripts>
|
|
<OnLoad>
|
|
local fontName, fontHeight, fontFlags = getglobal("L_DropDownList1Button1NormalText"):GetFont();
|
|
L_UIDROPDOWNMENU_DEFAULT_TEXT_HEIGHT = fontHeight;
|
|
tinsert(UIMenus, "L_DropDownList1"); --Allow closing with escape
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Button>
|
|
<Button name="L_DropDownList2" toplevel="true" frameStrata="FULLSCREEN_DIALOG" inherits="L_UIDropDownListTemplate" hidden="true" id="2">
|
|
<Size>
|
|
<AbsDimension x="180" y="10"/>
|
|
</Size>
|
|
<Scripts>
|
|
<OnLoad>
|
|
tinsert(UIMenus, "L_DropDownList2"); --Allow closing with escape
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Button>
|
|
</Ui>
|