Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setting Category separator is missing in the configuartion windows #10

Closed
5axes opened this issue Jul 1, 2022 · 1 comment · Fixed by #11
Closed

setting Category separator is missing in the configuartion windows #10

5axes opened this issue Jul 1, 2022 · 1 comment · Fixed by #11

Comments

@5axes
Copy link

5axes commented Jul 1, 2022

Cura 5.0
Plugin release : 2.0.2

The Settings separator is missing in the configuration Windows.

image

Working code to solved the problem in the SettingsCategory.qml file (QT6)

`
import QtQuick 2.2
import QtQuick.Controls 2.1

import Cura 1.5 as Cura
import UM 1.5 as UM
import ".."

Cura.CategoryButton
{
id: base;

categoryIcon: definition ? UM.Theme.getIcon(definition.icon) : ""
labelText: definition ? definition.label : ""
expanded: definition ? definition.expanded : false

signal showTooltip(string text)
signal hideTooltip()
signal contextMenuRequested()

onClicked: expanded ? settingDefinitionsModel.collapseRecursive(definition.key) : settingDefinitionsModel.expandRecursive(definition.key)

}
`

image
SettingCategory.txt

@ChristopherHoffman
Copy link
Owner

Ah, I appreciate the bug report and the suggested fix. I'll take a look at it and push out an update. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants