rapair to pop up
This commit is contained in:
@@ -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