ui: stack bank deposit and withdraw buttons vertically to fit labels

This commit is contained in:
ZHU MINCHAO committed 2026-11-04 10:31:09 +08:00
1 parent 58bf83d08e
commit 6cc546cd67
1 file changed
+4 -3
+4 -3
View File
@@ -194,11 +194,12 @@ namespace Decentralized
r.AddHeader(L.T("bank.ops")); r.AddHeader(L.T("bank.ops"));
AmountRow(r); AmountRow(r);
AmlPreview(r); AmlPreview(r);
r.AddSpace(4f); r.AddSpace(6f);
r.BeginRow(6f);
r.AddButton(L.T("trade.deposit"), Deposit); r.AddButton(L.T("trade.deposit"), Deposit);
r.Last?.SetPreferredSize(RightW - 30f, 28f);
r.AddSpace(4f);
r.AddButton(L.T("trade.withdraw"), Withdraw); r.AddButton(L.T("trade.withdraw"), Withdraw);
r.End(); r.Last?.SetPreferredSize(RightW - 30f, 28f);
}); });
} }