From 6cdf6bedb1d0156e6a59f2992c2b8f19d514e58f Mon Sep 17 00:00:00 2001 From: smk762 Date: Fri, 1 Jul 2022 17:52:21 +0800 Subject: [PATCH] fix button overflow --- .../Dex/Exchange/Trade/Trading/TradeViewHeader.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/atomic_defi_design/Dex/Exchange/Trade/Trading/TradeViewHeader.qml b/atomic_defi_design/Dex/Exchange/Trade/Trading/TradeViewHeader.qml index 3b8183e74f..15755c1920 100644 --- a/atomic_defi_design/Dex/Exchange/Trade/Trading/TradeViewHeader.qml +++ b/atomic_defi_design/Dex/Exchange/Trade/Trading/TradeViewHeader.qml @@ -27,14 +27,14 @@ Item Item { - width: parent.width * 0.15 + width: 350 height: parent.height // Simple/Pro select cursor Rectangle { id: cursorRect - width: (parent.width / 100) * 48 + width: _simpleLabel.width + 28 height: _simpleLabel.height + 14 radius: 16 anchors.verticalCenter: parent.verticalCenter