2
import Ubuntu.Components 0.1
10
signal labelTxtChanged(string newText)
12
property int operationsWidth: operatorLabel.width+formulaLabel.width
13
property string operation: ""
14
property string numbers: ""
15
property bool labelReadOnly: false
16
property string labelText: ""
17
property int numbersHeight: units.gu(4)
18
property string numbersColor: '#757373'
26
width: row.width-operatorLabel.width-formulaLabel.width
27
anchors.bottom: parent.bottom
28
ItemStyle.delegate: Item{} // removes ubuntu shape
29
readOnly: labelReadOnly
31
onTextChanged: { labelText = numberName.text }
37
font.pixelSize: units.gu(4)
45
anchors.bottom: parent.bottom
46
font.pixelSize: numbersHeight
47
fontSizeMode: Text.Fit
48
horizontalAlignment: Text.AlignRight