Revert "added new drawer2type for replacing drawertype"
This commit is contained in:
parent
4551cf0a21
commit
d98fdbdc5c
28 changed files with 276 additions and 639 deletions
|
|
@ -5,7 +5,7 @@ import QtQuick.Layouts
|
|||
import "../Controls2"
|
||||
import "../Controls2/TextTypes"
|
||||
|
||||
Drawer2Type {
|
||||
DrawerType {
|
||||
id: root
|
||||
|
||||
property string headerText
|
||||
|
|
@ -15,14 +15,12 @@ Drawer2Type {
|
|||
|
||||
property var yesButtonFunction
|
||||
property var noButtonFunction
|
||||
property real drawerHeight: 0.5
|
||||
|
||||
width: parent.width
|
||||
height: parent.height
|
||||
contentHeight: parent.height * drawerHeight
|
||||
height: content.implicitHeight + 32
|
||||
|
||||
ColumnLayout {
|
||||
parent: root.contentParent
|
||||
id: content
|
||||
|
||||
anchors.top: parent.top
|
||||
anchors.left: parent.left
|
||||
|
|
@ -31,8 +29,6 @@ Drawer2Type {
|
|||
anchors.rightMargin: 16
|
||||
anchors.leftMargin: 16
|
||||
|
||||
// visible: false
|
||||
|
||||
spacing: 8
|
||||
|
||||
Header2TextType {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue