mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-06-04 11:14:21 +08:00
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:
parent
caa9916cf0
commit
8023bee35a
@ -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
|
# When using the KDE qqc2-desktop-style, the UI layout is completely broken, and
|
||||||
# even worse, it crashes when switching to the "Preview" pane.
|
# even worse, it crashes when switching to the "Preview" pane.
|
||||||
if Platform.isLinux():
|
if Platform.isLinux():
|
||||||
os.environ["QT_QUICK_CONTROLS_STYLE"] = "material"
|
os.environ["QT_QUICK_CONTROLS_STYLE"] = "default"
|
||||||
|
|
||||||
app = CuraApplication()
|
app = CuraApplication()
|
||||||
app.run()
|
app.run()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user