Use 'default' theme instead of 'material'

Using 'material' causes some layout issues, while 'default' shows no such issues and also fixes the preview pane crashes.
This commit is contained in:
StefanBruens 2020-12-08 14:53:48 +01:00 committed by GitHub
parent caa9916cf0
commit 8023bee35a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -211,7 +211,7 @@ if Platform.isLinux() and getattr(sys, "frozen", False):
# When using the KDE qqc2-desktop-style, the UI layout is completely broken, and
# even worse, it crashes when switching to the "Preview" pane.
if Platform.isLinux():
os.environ["QT_QUICK_CONTROLS_STYLE"] = "material"
os.environ["QT_QUICK_CONTROLS_STYLE"] = "default"
app = CuraApplication()
app.run()