mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-08 22:35:03 -06:00
Replace usage of controls label with our custom label
This prevents copy pasting a bunch of parameters that we set by default
This commit is contained in:
parent
0bb09a4783
commit
83be495414
68 changed files with 225 additions and 572 deletions
|
@ -6,7 +6,7 @@ import QtQuick.Controls 1.4 as OldControls // TableView doesn't exist in the QtQ
|
|||
import QtQuick.Controls 2.3
|
||||
import QtQuick.Controls.Styles 1.4
|
||||
|
||||
import UM 1.2 as UM
|
||||
import UM 1.5 as UM
|
||||
|
||||
|
||||
OldControls.TableView
|
||||
|
@ -15,7 +15,7 @@ OldControls.TableView
|
|||
{
|
||||
height: tableCellLabel.implicitHeight
|
||||
|
||||
Label
|
||||
UM.Label
|
||||
{
|
||||
id: tableCellLabel
|
||||
color: styleData.selected ? UM.Theme.getColor("primary_button_text") : UM.Theme.getColor("text")
|
||||
|
@ -23,7 +23,6 @@ OldControls.TableView
|
|||
text: styleData.value
|
||||
anchors.fill: parent
|
||||
anchors.leftMargin: 10 * screenScaleFactor
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue