diff options
| author | Sander Ferdinand <sa.ferdinand@gmail.com> | 2018-03-21 23:58:51 +0100 |
|---|---|---|
| committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-03-29 23:04:03 +0100 |
| commit | 916c7acbb7f0bb658acd3ea050ea4b04581374e2 (patch) | |
| tree | e52845d67e5c5d21729485146b8e948666040cd9 /pages/History.qml | |
| parent | 6e794e3c50a5063d79cfe47a69d36d8005568921 (diff) | |
| download | monzero-gui-916c7acbb7f0bb658acd3ea050ea4b04581374e2.tar.gz monzero-gui-916c7acbb7f0bb658acd3ea050ea4b04581374e2.tar.xz monzero-gui-916c7acbb7f0bb658acd3ea050ea4b04581374e2.zip | |
Design polish work
Diffstat (limited to 'pages/History.qml')
| -rw-r--r-- | pages/History.qml | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/pages/History.qml b/pages/History.qml index a1f3142a..f6fe8736 100644 --- a/pages/History.qml +++ b/pages/History.qml @@ -133,15 +133,24 @@ Rectangle { spacing: 0 GridLayout { - columns: (isMobile)? 1 : 2 + property int column_width: { + if(!isMobile){ + return (parent.width / 2) - 20; + } else { + return parent.width - 20; + } + } + + columns: 2 Layout.fillWidth: true - columnSpacing: 26 * scaleRatio RowLayout { visible: !isMobile + Layout.preferredWidth: parent.column_width } RowLayout { + Layout.preferredWidth: parent.column_width LineEdit { id: searchLine fontSize: 14 * scaleRatio |
