Fix width of materials properties tab

This commit is contained in:
Arjen Hiemstra 2016-06-27 13:33:38 +02:00
parent b2ef607cb6
commit 68a8bcb009

View file

@ -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;