From 84b417a1c80e71001310a0b5774acb6024edaa03 Mon Sep 17 00:00:00 2001 From: Aleksi Suomalainen Date: Sun, 26 Mar 2017 19:41:03 +0300 Subject: [PATCH] [ui] Remove pixelsize and implicit measurements --- src/controls/Spinner.qml | 2 -- src/styles/TextFieldStyle.qml | 4 +--- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/controls/Spinner.qml b/src/controls/Spinner.qml index 4764b47..5ac482d 100644 --- a/src/controls/Spinner.qml +++ b/src/controls/Spinner.qml @@ -34,8 +34,6 @@ import QtQuick.Controls.Styles.Nemo 1.0 Item { id: container - width: 2 * Theme.spinner.radius + Theme.spinner.horizontalSpacing - height: 2 * Theme.spinner.radius + Theme.spinner.verticalSpacing states: [ State { name: "enabled"; when: enabled } diff --git a/src/styles/TextFieldStyle.qml b/src/styles/TextFieldStyle.qml index 629b5df..5d641be 100644 --- a/src/styles/TextFieldStyle.qml +++ b/src/styles/TextFieldStyle.qml @@ -25,11 +25,9 @@ TextFieldStyle { selectedTextColor: Theme.textField.selectedTextColor selectionColor: Theme.textField.selectionColor textColor: Theme.textField.selectedTextColor - font.pixelSize: Theme.textField.pointSize + font.pointSize: 14 font.family: Theme.textField.font background: Item { - implicitHeight: 40 - implicitWidth: 320 anchors.leftMargin: 16 anchors.rightMargin: 16 opacity: control.enabled ? 1 : 0.6