Topbar layout fix width conf
This commit is contained in:
@@ -5,19 +5,19 @@ Item
|
|||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
TopBar
|
TopBar
|
||||||
{
|
{
|
||||||
id:topBar
|
id:topBar
|
||||||
}
|
}
|
||||||
|
|
||||||
// Component.onCompleted:
|
Component.onCompleted:
|
||||||
// {
|
{
|
||||||
// appLoader.window.title = "pyqcrm"
|
appLoader.window.title = "pyqcrm"
|
||||||
// appLoader.window.height = Screen.height * .5
|
appLoader.window.height = Screen.height * .5
|
||||||
// appLoader.window.width = Screen.width * .5
|
appLoader.window.width = Screen.width * .5
|
||||||
|
|
||||||
// }
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ import QtQuick.Layouts
|
|||||||
{
|
{
|
||||||
id: topBar
|
id: topBar
|
||||||
height: 35
|
height: 35
|
||||||
width: parent / 8
|
width: parent.width / 8
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user