From 68a8bcb009562434be867ef2c473ebd131e5a18d Mon Sep 17 00:00:00 2001 From: Arjen Hiemstra Date: Mon, 27 Jun 2016 13:33:38 +0200 Subject: [PATCH] Fix width of materials properties tab --- resources/qml/Preferences/MaterialView.qml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/resources/qml/Preferences/MaterialView.qml b/resources/qml/Preferences/MaterialView.qml index 41afae9eac..c662895584 100644 --- a/resources/qml/Preferences/MaterialView.qml +++ b/resources/qml/Preferences/MaterialView.qml @@ -2,7 +2,7 @@ // Uranium is released under the terms of the AGPLv3 or higher. import QtQuick 2.1 -import QtQuick.Controls 1.1 +import QtQuick.Controls 1.3 import QtQuick.Dialogs 1.2 import UM 1.2 as UM @@ -27,13 +27,15 @@ TabView anchors.fill: parent anchors.margins: UM.Theme.getSize("default_margin").width + horizontalScrollBarPolicy: Qt.ScrollBarAlwaysOff + Flow { id: containerGrid - width: base.width - UM.Theme.getSize("default_margin").width * 4; + width: base.width; - property real firstColumnWidth: width * 0.5 + property real firstColumnWidth: width * 0.45 property real secondColumnWidth: width * 0.4 property real rowHeight: textField.height;