mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-15 18:43:59 +00:00
Tooltips: fixed a bunch of tooltips which were not properly scaled.
This commit is contained in:
@@ -14,6 +14,7 @@ import qs.Widgets
|
||||
NBox {
|
||||
id: root
|
||||
|
||||
property ShellScreen screen
|
||||
property string uptimeText: "--"
|
||||
|
||||
RowLayout {
|
||||
@@ -58,6 +59,7 @@ NBox {
|
||||
}
|
||||
NIconButton {
|
||||
icon: "settings"
|
||||
screen: root.screen
|
||||
tooltipText: I18n.tr("tooltips.open-settings")
|
||||
onClicked: {
|
||||
settingsPanel.requestedTab = SettingsPanel.Tab.General
|
||||
@@ -66,8 +68,8 @@ NBox {
|
||||
}
|
||||
|
||||
NIconButton {
|
||||
id: powerButton
|
||||
icon: "power"
|
||||
screen: root.screen
|
||||
tooltipText: I18n.tr("tooltips.session-menu")
|
||||
onClicked: {
|
||||
sessionMenuPanel.open()
|
||||
@@ -76,8 +78,8 @@ NBox {
|
||||
}
|
||||
|
||||
NIconButton {
|
||||
id: closeButton
|
||||
icon: "close"
|
||||
screen: root.screen
|
||||
tooltipText: I18n.tr("tooltips.close")
|
||||
onClicked: {
|
||||
controlCenterPanel.close()
|
||||
|
||||
Reference in New Issue
Block a user