mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-11-27 05:38:37 +08:00
update
This commit is contained in:
parent
a89d36fd14
commit
ac0b0aaaa9
@ -94,8 +94,7 @@ CustomWindow {
|
|||||||
FluNavigationView{
|
FluNavigationView{
|
||||||
id:nav_view
|
id:nav_view
|
||||||
anchors{
|
anchors{
|
||||||
top: title_bar.bottom
|
top: parent.top
|
||||||
topMargin: -20
|
|
||||||
left: parent.left
|
left: parent.left
|
||||||
right: parent.right
|
right: parent.right
|
||||||
bottom: parent.bottom
|
bottom: parent.bottom
|
||||||
@ -121,6 +120,8 @@ CustomWindow {
|
|||||||
ItemsOriginal.navigationView = nav_view
|
ItemsOriginal.navigationView = nav_view
|
||||||
ItemsFooter.navigationView = nav_view
|
ItemsFooter.navigationView = nav_view
|
||||||
nav_view.setCurrentIndex(0)
|
nav_view.setCurrentIndex(0)
|
||||||
|
setHitTestVisible(nav_view.backButton())
|
||||||
|
setHitTestVisible(nav_view.navButton())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -461,6 +461,7 @@ Item {
|
|||||||
height:parent.height
|
height:parent.height
|
||||||
spacing: 0
|
spacing: 0
|
||||||
FluIconButton{
|
FluIconButton{
|
||||||
|
id:btn_back
|
||||||
iconSource: FluentIcons.ChromeBack
|
iconSource: FluentIcons.ChromeBack
|
||||||
Layout.leftMargin: 5
|
Layout.leftMargin: 5
|
||||||
Layout.preferredWidth: 30
|
Layout.preferredWidth: 30
|
||||||
@ -922,4 +923,10 @@ Item {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
function backButton(){
|
||||||
|
return btn_back
|
||||||
|
}
|
||||||
|
function navButton(){
|
||||||
|
return btn_nav
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user