mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-12-01 23:42:22 +08:00
fix bug #408
This commit is contained in:
parent
d6325b4f5b
commit
93832fb325
@ -70,10 +70,10 @@ Item {
|
|||||||
topMargin: -1
|
topMargin: -1
|
||||||
left: layout_header.left
|
left: layout_header.left
|
||||||
}
|
}
|
||||||
width: parent.width
|
|
||||||
clip: true
|
clip: true
|
||||||
visible: contentHeight+container.y !== 0
|
visible: contentHeight+container.anchors.topMargin !== 0
|
||||||
height: contentHeight+container.y
|
height: contentHeight+container.anchors.topMargin
|
||||||
|
width: parent.width
|
||||||
Rectangle{
|
Rectangle{
|
||||||
id:container
|
id:container
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
@ -82,7 +82,6 @@ Item {
|
|||||||
color: FluTheme.dark ? Qt.rgba(39/255,39/255,39/255,1) : Qt.rgba(251/255,251/255,253/255,1)
|
color: FluTheme.dark ? Qt.rgba(39/255,39/255,39/255,1) : Qt.rgba(251/255,251/255,253/255,1)
|
||||||
border.color: FluTheme.dark ? Qt.rgba(45/255,45/255,45/255,1) : Qt.rgba(226/255,229/255,234/255,1)
|
border.color: FluTheme.dark ? Qt.rgba(45/255,45/255,45/255,1) : Qt.rgba(226/255,229/255,234/255,1)
|
||||||
anchors.topMargin: -contentHeight
|
anchors.topMargin: -contentHeight
|
||||||
// y: -contentHeight
|
|
||||||
states: [
|
states: [
|
||||||
State{
|
State{
|
||||||
name:"expand"
|
name:"expand"
|
||||||
|
@ -70,10 +70,10 @@ Item {
|
|||||||
topMargin: -1
|
topMargin: -1
|
||||||
left: layout_header.left
|
left: layout_header.left
|
||||||
}
|
}
|
||||||
width: parent.width
|
|
||||||
clip: true
|
clip: true
|
||||||
visible: contentHeight+container.y !== 0
|
visible: contentHeight+container.anchors.topMargin !== 0
|
||||||
height: contentHeight+container.y
|
height: contentHeight+container.anchors.topMargin
|
||||||
|
width: parent.width
|
||||||
Rectangle{
|
Rectangle{
|
||||||
id:container
|
id:container
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
@ -82,7 +82,6 @@ Item {
|
|||||||
color: FluTheme.dark ? Qt.rgba(39/255,39/255,39/255,1) : Qt.rgba(251/255,251/255,253/255,1)
|
color: FluTheme.dark ? Qt.rgba(39/255,39/255,39/255,1) : Qt.rgba(251/255,251/255,253/255,1)
|
||||||
border.color: FluTheme.dark ? Qt.rgba(45/255,45/255,45/255,1) : Qt.rgba(226/255,229/255,234/255,1)
|
border.color: FluTheme.dark ? Qt.rgba(45/255,45/255,45/255,1) : Qt.rgba(226/255,229/255,234/255,1)
|
||||||
anchors.topMargin: -contentHeight
|
anchors.topMargin: -contentHeight
|
||||||
// y: -contentHeight
|
|
||||||
states: [
|
states: [
|
||||||
State{
|
State{
|
||||||
name:"expand"
|
name:"expand"
|
||||||
|
Loading…
Reference in New Issue
Block a user