diff options
Diffstat (limited to 'components/TableDropdown.qml')
| -rw-r--r-- | components/TableDropdown.qml | 30 |
1 files changed, 26 insertions, 4 deletions
diff --git a/components/TableDropdown.qml b/components/TableDropdown.qml index 6386fe90..89cec3de 100644 --- a/components/TableDropdown.qml +++ b/components/TableDropdown.qml @@ -27,19 +27,41 @@ Item { anchors.fill: parent Rectangle { - anchors.fill: parent - anchors.topMargin: dropdown.expanded || dropArea.height > 0 ? 0 : 1 + anchors.left: parent.left + anchors.right: parent.right + height: parent.height - 1 + y: dropdown.expanded || dropArea.height > 0 ? 0 : 1 radius: 3 color: dropdown.expanded || dropArea.height > 0 ? "#888888" : "#DBDBDB" } Rectangle { - anchors.fill: parent - anchors.bottomMargin: dropdown.expanded || dropArea.height > 0 ? 0 : 1 + anchors.left: parent.left + anchors.right: parent.right + height: parent.height - 1 + y: dropdown.expanded || dropArea.height > 0 ? 1 : 0 radius: 3 color: dropdown.expanded || dropArea.height > 0 ? "#DBDBDB" : "#F0EEEE" } + Rectangle { + anchors.left: parent.left + anchors.bottom: parent.bottom + height: 3 + width: 3 + color: "#DBDBDB" + visible: dropdown.expanded || dropArea.height > 0 + } + + Rectangle { + anchors.right: parent.right + anchors.bottom: parent.bottom + height: 3 + width: 3 + color: "#DBDBDB" + visible: dropdown.expanded || dropArea.height > 0 + } + Image { anchors.verticalCenter: parent.verticalCenter anchors.left: parent.left |
