forked from qt-creator/qt-creator
QmlProfiler: variable width of status display
Task-number: QTCREATORBUG-5610 Change-Id: Iffb94213fb209799f2ba55c1031c091c68ece4ea Reviewed-on: http://codereview.qt.nokia.com/2190 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
This commit is contained in:
committed by
Aurindam Jana
parent
8275ab0f6e
commit
3bd37a7160
@@ -13,7 +13,7 @@ Rectangle {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
width: 200
|
width: Math.max(200, statusText.width+20);
|
||||||
height: displayColumn.height + 20
|
height: displayColumn.height + 20
|
||||||
|
|
||||||
visible: false;
|
visible: false;
|
||||||
@@ -27,11 +27,11 @@ Rectangle {
|
|||||||
id: displayColumn
|
id: displayColumn
|
||||||
y: 10
|
y: 10
|
||||||
spacing: 5
|
spacing: 5
|
||||||
|
width: parent.width
|
||||||
Text {
|
Text {
|
||||||
id: statusText
|
id: statusText
|
||||||
width: statusDisplay.width
|
|
||||||
horizontalAlignment: "AlignHCenter"
|
horizontalAlignment: "AlignHCenter"
|
||||||
y: 10
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
}
|
}
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
|
|||||||
Reference in New Issue
Block a user