NightLight/Bar: left click toggle, converted to NIconButton
+ Adapted some tooltip to the new richtext NText
This commit is contained in:
parent
87f9afbd85
commit
80f6570f04
7 changed files with 39 additions and 51 deletions
|
|
@ -70,8 +70,8 @@ Item {
|
|||
var monitor = getMonitor()
|
||||
if (!monitor)
|
||||
return ""
|
||||
return "Brightness: " + Math.round(monitor.brightness * 100) + "%\nMethod: " + monitor.method
|
||||
+ "\nLeft click for advanced settings.\nScroll up/down to change brightness."
|
||||
return "Brightness: " + Math.round(monitor.brightness * 100) + "%<br/>Method: " + monitor.method
|
||||
+ "<br/>Left click for advanced settings.<br/>Scroll up/down to change brightness."
|
||||
}
|
||||
|
||||
onWheel: function (angle) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue