Remove customizations from CustomButton.

Signed-off-by: Camila Ayres <hello@camilasan.com>
This commit is contained in:
Camila Ayres 2024-08-29 20:30:16 +02:00 committed by Matthieu Gallien
parent b90d7c0623
commit d8acedb960

View file

@ -36,8 +36,7 @@ Button {
visible: root.toolTipText !== "" && root.hovered
}
// TODO: the current style does not support customization of this control
contentItem: NCButtonContents {
NCButtonContents {
id: contents
display: root.display
hovered: root.hovered
@ -45,6 +44,5 @@ Button {
imageSource: root.icon.source
imageSourceWidth: root.icon.width
imageSourceHeight: root.icon.height
text: root.text
}
}