mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-15 18:43:59 +00:00
Tooltips on all NIconButtons
This commit is contained in:
@@ -154,6 +154,7 @@ NLoader {
|
||||
}
|
||||
NIconButton {
|
||||
icon: "refresh"
|
||||
tooltipText: "Reset Scaling"
|
||||
fontPointSize: Style.fontSizeLarge * scaling
|
||||
onClicked: {
|
||||
Scaling.overrideEnabled = false
|
||||
@@ -178,6 +179,7 @@ NLoader {
|
||||
NIconButton {
|
||||
id: myIconButton
|
||||
icon: "celebration"
|
||||
tooltipText: "A nice tooltip"
|
||||
fontPointSize: Style.fontSizeLarge * scaling
|
||||
}
|
||||
|
||||
@@ -318,6 +320,7 @@ NLoader {
|
||||
spacing: Style.marginSmall * scaling
|
||||
NIconButton {
|
||||
icon: "brightness_low"
|
||||
tooltipText: "Decrease Brightness"
|
||||
fontPointSize: Style.fontSizeLarge * scaling
|
||||
onClicked: {
|
||||
BrightnessService.decreaseBrightness()
|
||||
@@ -335,6 +338,7 @@ NLoader {
|
||||
}
|
||||
NIconButton {
|
||||
icon: "brightness_high"
|
||||
tooltipText: "Increase Brightness"
|
||||
fontPointSize: Style.fontSizeLarge * scaling
|
||||
onClicked: {
|
||||
BrightnessService.increaseBrightness()
|
||||
|
||||
Reference in New Issue
Block a user