You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

63 lines
1.9 KiB

<Ui>
<!-- note the parent is the dialog! -->
<Frame parentKey="SaveAs" parent="RematchDialog" hidden="true">
<Size x="280" y="180"/>
<Frames>
<Frame parentKey="Team" inherits="RematchDialogTeamTemplate">
<Anchors>
<Anchor point="TOP"/>
</Anchors>
</Frame>
<EditBox parentKey="Name" autoFocus="true" inherits="RematchInputBoxTemplate">
<Size x="212" y="24"/>
<Anchors>
<Anchor point="TOPLEFT" relativeKey="$parent.Team" relativePoint="BOTTOMLEFT" x="40" y="-12"/>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<!-- "Name:" -->
<FontString parentKey="Label" inherits="GameFontNormal">
<Anchors>
<Anchor point="RIGHT" relativePoint="LEFT" x="-2" y="0"/>
</Anchors>
</FontString>
</Layer>
</Layers>
<FontString inherits="GameFontHighlight" justifyH="LEFT"/>
<Scripts>
<OnTextChanged>
self:OnTextChanged()
</OnTextChanged>
<OnEnterPressed>
if Rematch.Dialog.Accept:IsEnabled() then
Rematch.Dialog.Accept:Click()
end
</OnEnterPressed>
<OnEscapePressed>
Rematch:HideDialog()
</OnEscapePressed>
</Scripts>
</EditBox>
<Frame parentKey="Target" inherits="RematchComboBoxTemplate,RematchTooltipScripts">
<Anchors>
<Anchor point="TOPRIGHT" relativeKey="$parent.Name" relativePoint="BOTTOMRIGHT" x="-16" y="-10"/>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<!-- "Target:" -->
<FontString parentKey="Label" inherits="GameFontNormal">
<Anchors>
<Anchor point="RIGHT" relativePoint="LEFT" x="-2" y="0"/>
</Anchors>
</FontString>
</Layer>
</Layers>
</Frame>
<CheckButton parentKey="Themselves" inherits="UICheckButtonTemplate">
<Size x="26" y="26"/>
</CheckButton>
</Frames>
</Frame>
</Ui>