We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ced382 commit 16d4335Copy full SHA for 16d4335
src/uicomponents/CustomToolButton.qml
@@ -3,11 +3,12 @@
3
import QtQuick
4
import QtQuick.Controls
5
import QtQuick.Controls.Material
6
+import ScratchCPP.Ui
7
8
// Similar to ToolButton, but it's always a (rounded) rectangle
9
// Double click events are not supported, use the clicked() signal like with a QPushButton
10
CustomButton {
- property color foregroundColor: Material.theme === Material.Dark ? "white" : "black"
11
+ property color foregroundColor: ThemeEngine.foregroundColor
12
property string toolTipText
13
property string accessibleDescription: ""
14
signal clicked()
0 commit comments