[英]ApplicationWindow footer width controlled
我在main.qml中使用ApplicationWindow ,並使用StackLayout調用所有 qml windows 並根據需要導航...)
main.qml
ApplicationWindow
StackLayout
如下圖所示,我創建了一個垂直的 TabBar,無論調用哪個 qml 窗口/頁面,它都始終存在。 我想在ApplicationWindow中創建一個頁腳以將數據視為應用程序當前版本。 我想控制頁腳寬度錨定在 TabBar 的左側,但頁腳寬度填充了ApplicationWindow的總寬度並將 TabBar 向上推,導致設計不理想。
有沒有辦法控制ApplicationWindow頁腳寬度並將其錨定到 TabBar? 歡迎任何建議。
只需忽略 ApplicationWindow 的頁腳(如果未設置,它將變為零高度)並使您的頁腳成為 contentItem 布局的一部分。
[英]Unable to use states with ApplicationWindow
[英]QML Dialog positioning in ApplicationWindow
[英]ApplicationWindow and header overdraw
[英]QML Applicationwindow resize stutter
[英]Difference between Window and ApplicationWindow in QML?
[英]QML2 ApplicationWindow Keys handling
[英]ApplicationWindow doesn't respect size
[英]Extending QML ApplicationWindow in C++
[英]Text control not showing in QT ApplicationWindow
[英]How to apply radius to ApplicationWindow in qml
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.