Threshold-Yuzu/resource/layout/overlay_microtxn_authdialog...

83 lines
2.8 KiB
Plaintext
Raw Normal View History

2018-07-03 03:51:33 +00:00
"resource/layout/overlay_microtxn_authdialog.layout"
{
controls
{
ItemList { controlname="ListPanel" style="ItemListStyle" }
AuthorizeButton { controlname="Button" Style="AuthBtnStyle" labeltext="#Overlay_MicroTxnAuth_Authorize" }
CancelButton { controlname="Button" Style="AuthBtnStyle" labeltext="#Overlay_MicroTxnAuth_Cancel" }
ReasonLabel { controlname="Label" labeltext="#Overlay_MicroTxnAuth_Description" wrap=1 }
TotalLabel { controlname="Label" labeltext="#Overlay_MicroTxnAuth_Total" }
TotalAmtLabel { controlname="Label" style="TotalAmtStyle" labeltext="%total%" }
ConvertedTotalLabel { controlname="Label" labeltext="#Overlay_MicroTxnAuth_ConvertedTotalLabel" }
ConvertedTotalAmtLabel { controlname="Label" style="TotalAmtStyle" labeltext="#Overlay_MicroTxnAuth_ConvertedTotalValue" }
BalanceLabel { controlname="Label" style="BalanceStyle" labeltext="#Overlay_MicroTxnAuth_Balance" }
BalanceDescLabel { controlname="Label" labeltext="#Overlay_MicroTxnAuth_BalanceLabel" }
RefundText { controlname="RichText" style="RefundTextStyle" scrollbar=0 }
Separator { controlname="Panel" style="SeparatorStyle" }
}
colors
{
BalanceGreen="85 127 30 255"
}
styles
{
ItemListStyle { minimum-height="150" }
BalanceStyle
{
render_bg
{
// background fill
0="fill( x0 - 6, y0, x1 + 6, y1, BalanceGreen)"
}
textcolor=DefaultText
}
TotalAmtStyle { minimum-width="70" }
AuthBtnStyle { minimum-width="100" }
RefundTextStyle
{
textcolor=DefaultText.Hover
selectedtextcolor=DefaultText.Hover
scrollbar="0"
font-size=14
render_bg {}
}
RefundTextLinkStyle
{
textcolor=DefaultText.Hover
font-style=underline
}
SeparatorStyle
{
render_bg
{
0="fill( x0, y0, x1, y1, Menu.Div )"
}
}
}
layout
{
region { name="main" width="max" height=250 margin-top=40 margin-left=10 margin-right=10 }
region { name="total" region="main" align="bottom" height=24 width="max" margin-right=25 }
region { name="buttons" align="bottom" width="max" height=34 margin-right=10 }
place { control=BalanceDescLabel,BalanceLabel dir=left x=200 y=0 margin-right=35 margin-top=6 align=right spacing=10 }
place { control=AuthorizeButton,CancelButton region=buttons dir=left align=right spacing=10 }
place { control=ReasonLabel,ItemList region=main dir=down spacing=15 width=max }
place { control=TotalLabel,TotalAmtLabel region=total dir=left align=right spacing=15 margin-top=0 }
place { control=ConvertedTotalLabel,ConvertedTotalAmtLabel region=total dir=left align=right spacing=15 margin-top=12 }
place { control=RefundText start=Separator dir=down spacing=0 margin-left=-8 width=max height=50 }
place { control=Separator start=total dir=down spacing=0 margin-left=10 width=max margin-right=10 height=1 }
}
}