OSDN Git Service

QmlDesigner.propertyEditor: fix fill button
authorThomas Hartmann <Thomas.Hartmann@nokia.com>
Fri, 1 Apr 2011 12:01:26 +0000 (14:01 +0200)
committerThomas Hartmann <Thomas.Hartmann@nokia.com>
Fri, 1 Apr 2011 12:01:26 +0000 (14:01 +0200)
commitbf1b4290bd1ef2cd27df05628c6e92715384f3c8
treea390fc20d1c41d3ea5a332166d621aad944ff8b2
parent2eb7f18bbf6c87eac471d47821a7d24db3d18808
QmlDesigner.propertyEditor: fix fill button

The fill button should only be checked
if all 4 anchors are set and the margins are 0.

Reviewed-by: Kai Koehne
share/qtcreator/qmldesigner/propertyeditor/Qt/AnchorButtons.qml
src/plugins/qmldesigner/components/propertyeditor/qmlanchorbindingproxy.cpp
src/plugins/qmldesigner/components/propertyeditor/qmlanchorbindingproxy.h