Fix repair popup on 10.x

This commit is contained in:
2022-11-16 01:27:28 -06:00
parent b61cd35983
commit ec2e074a1a

View File

@ -1,20 +1,9 @@
<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">
<frame name="RepairBroker_Popup" hidden="true" toplevel="true" parent="MerchantFrame" movable="true" enableMouse="true" enableKeyboard="true" frameStrata="DIALOG">
<frame name="RepairBroker_Popup" hidden="true" toplevel="true" parent="MerchantFrame" movable="true" enableMouse="true" enableKeyboard="true" frameStrata="DIALOG" inherits="TooltipBackdropTemplate">
<Size>
<AbsDimension x="170" y="70"/>
</Size>
<!-- <Backdrop name="$parentBackdrop" bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
<BackgroundInsets>
<AbsInset left="4" right="4" top="4" bottom="4"/>
</BackgroundInsets>
<TileSize>
<AbsValue val="16"/>
</TileSize>
<EdgeSize>
<AbsValue val="16"/>
</EdgeSize>
</Backdrop> -->
<Anchors>
<Anchor point="CENTER" relativeTo="UIParent">
<Offset x="0" y="100"/>
@ -49,7 +38,7 @@
</layer>
</layers>
<frames>
<Button name="$parent_Close" inherits="OptionsListButtonTemplate" text="X">
<Button name="$parent_Close" inherits="UIPanelButtonTemplate" text="X">
<Size>
<AbsDimension x="16" y="16"/>
</Size>
@ -64,7 +53,7 @@
</OnClick>
</Scripts>
</Button>
<Button name="$parent_Repair" inherits="OptionsListButtonTemplate" text="Repair">
<Button name="$parent_Repair" inherits="UIPanelButtonTemplate" text="Repair">
<Size>
<AbsDimension x="80" y="16"/>
</Size>
@ -86,7 +75,7 @@
</OnLeave>
</Scripts>
</Button>
<Button name="$parent_GuildRepair" inherits="OptionsListButtonTemplate" text="GuildRepair">
<Button name="$parent_GuildRepair" inherits="UIPanelButtonTemplate" text="GuildRepair">
<Size>
<AbsDimension x="80" y="16"/>
</Size>