mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-10 07:15:03 -06:00
Set the height of the stage menu in the theme instead of hardcoded.
I also adjusted a bit the design to fulfill the requirments from UX/UI team. Contributes to CURA-5772.
This commit is contained in:
parent
fdfa81b2b8
commit
1cc7e0e586
4 changed files with 26 additions and 6 deletions
|
@ -1,5 +1,6 @@
|
|||
# Copyright (c) 2017 Ultimaker B.V.
|
||||
# Copyright (c) 2018 Ultimaker B.V.
|
||||
# Cura is released under the terms of the LGPLv3 or higher.
|
||||
|
||||
from PyQt5.QtCore import pyqtProperty, QUrl
|
||||
|
||||
from UM.Stage import Stage
|
||||
|
@ -27,6 +28,6 @@ class CuraStage(Stage):
|
|||
def sidebarComponent(self) -> QUrl:
|
||||
return self.getDisplayComponent("sidebar")
|
||||
|
||||
@pyqtProperty(QUrl, constant=True)
|
||||
@pyqtProperty(QUrl, constant = True)
|
||||
def stageMenuComponent(self) -> QUrl:
|
||||
return self.getDisplayComponent("menu")
|
Loading…
Add table
Add a link
Reference in a new issue