update styledbutton to extend button
This commit is contained in:
parent
160cd3c1d5
commit
c983cf206b
12 changed files with 74 additions and 134 deletions
|
|
@ -1,13 +1,12 @@
|
|||
import qs.components
|
||||
import qs.widgets
|
||||
import Quickshell
|
||||
|
||||
StyledButton {
|
||||
id: root
|
||||
|
||||
property QsMenuEntry menuEntry
|
||||
|
||||
text: root.menuEntry.text
|
||||
|
||||
onClicked: menuEntry.triggered()
|
||||
content: StyledText {
|
||||
font.pixelSize: 14
|
||||
text: root.menuEntry.text
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue