Properties:
Name | Type | Description |
---|---|---|
max |
BoundingBox | [readonly] The maximum bounding box. |
min |
BoundingBox | [readonly] The minimum bounding box. |
Example
// both labels have the same minimum width, which matches the wider
// one of the labels
Ruler { id: labelsRuler }
Label {
ruler: labelsRuler
minWidth: labelsRuler.max.width
text: "A label"
}
Label {
ruler: labelsRuler
minWidth: labelsRuler.max.width
text: "Another label"
}