Use Cura-style drop-down to select mesh type

MacOS has some trouble with the QtQuick.Controls 1 system-styled drop-downs since Qt 5.15. We've removed the other ones, but forgot about this one.

Contributes to issue CURA-8128.
This commit is contained in:
Ghostkeeper 2021-06-15 17:13:08 +02:00
parent adf3f51a4e
commit f18e5f96ab
No known key found for this signature in database
GPG key ID: 14C3586CD2EFC5B9

View file

@ -1,4 +1,4 @@
// Copyright (c) 2017 Ultimaker B.V. // Copyright (c) 2021 Ultimaker B.V.
// Uranium is released under the terms of the LGPLv3 or higher. // Uranium is released under the terms of the LGPLv3 or higher.
import QtQuick 2.2 import QtQuick 2.2
@ -136,10 +136,12 @@ Item
} }
ComboBox Cura.ComboBox
{ {
id: infillOnlyComboBox id: infillOnlyComboBox
width: parent.width / 2 - UM.Theme.getSize("default_margin").width width: parent.width / 2 - UM.Theme.getSize("default_margin").width
height: UM.Theme.getSize("setting_control").height
textRole: "text"
model: ListModel model: ListModel
{ {