mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 02:29:02 +08:00
Add background to viewModeSelection
CURA-5785
This commit is contained in:
parent
c9389dd9ab
commit
20e2f317de
@ -26,6 +26,12 @@ Item
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
spacing: UM.Theme.getSize("default_margin").width
|
||||
height: parent.height
|
||||
|
||||
Rectangle
|
||||
{
|
||||
color: UM.Theme.getColor("tool_panel_background")
|
||||
width: viewModeButton.width + 2 * UM.Theme.getSize("default_margin").width
|
||||
height: parent.height
|
||||
ComboBox
|
||||
{
|
||||
// This item contains the views selector, a combobox that is dynamically created from
|
||||
@ -34,7 +40,7 @@ Item
|
||||
id: viewModeButton
|
||||
|
||||
style: UM.Theme.styles.combobox
|
||||
|
||||
anchors.centerIn: parent
|
||||
model: UM.ViewModel { }
|
||||
textRole: "name"
|
||||
|
||||
@ -70,6 +76,7 @@ Item
|
||||
}
|
||||
currentIndex: getActiveIndex()
|
||||
}
|
||||
}
|
||||
|
||||
Loader
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user