Commit 0831e6e5 authored by Jens Bache-Wiig's avatar Jens Bache-Wiig Committed by Daniel Molkentin
Browse files

Improved resizing behavior

Change-Id: I9f2156e996ea233cbe5424ad2e615e936b729443
Reviewed-on: http://codereview.qt.nokia.com/1578

Reviewed-by: default avatarQt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: default avatarDaniel Molkentin <daniel.molkentin@nokia.com>
parent e19dd9d1
......@@ -55,7 +55,7 @@ Item {
anchors.left: parent.left
anchors.leftMargin:4
anchors.verticalCenter: parent.verticalCenter
width: lineEditRoot.width - checkBox.width - 24 - tagFilterButton.width
width: Math.max(lineEditRoot.width - checkBox.width - 24 - tagFilterButton.width, 0)
onTextChanged: examplesModel.filterRegExp = RegExp('.*'+text, "im")
}
......
......@@ -81,11 +81,16 @@ Rectangle {
InsetText {
id: feedbackText
property bool canShow: parent.width > 630
anchors.verticalCenter: parent.verticalCenter
anchors.right: parent.right
anchors.leftMargin: 10
anchors.rightMargin: 10
anchors.margins: 5
opacity: canShow ? 1 : 0
Behavior on opacity{NumberAnimation{easing.type: Easing.OutSine}}
width: canShow ? paintedWidth : 0
mainColor: "#444"
text: qsTr("Help us make Qt Creator even better")
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment