rapair to pop up
This commit is contained in:
1 parent
5df0534c78
commit
3c41176933
2 files changed
+13
-1
No files matched your search
@@ -55,4 +55,15 @@ QtObject {
|
||||
// Tray
|
||||
readonly property int reload_interval: 10000
|
||||
readonly property int fast_reload_interval: 1000
|
||||
|
||||
|
||||
|
||||
function maxTextWidth(maxNum, texts) {
|
||||
let maxWidth = 0;
|
||||
|
||||
for (let i = 0; i < Math.min(maxNum, texts.length); i++)
|
||||
maxWidth = Math.max(maxWidth, texts[i].width);
|
||||
|
||||
return maxWidth;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user