linphone-desktop/Linphone/view/Control/Display/ToolTip.qml
Gaelle Braud 06647f002a resize the app according to screen definition
fix ui size according to screen resolution
2025-03-07 11:36:34 +01:00

22 lines
440 B
QML

import QtQuick
import QtQuick.Controls.Basic as Control
import Linphone
Control.ToolTip {
id: mainItem
delay: 1000
clip: true
background: Rectangle {
id: tooltipBackground
opacity: 0.7
color: DefaultStyle.main2_200
radius: Math.round(15 * DefaultStyle.dp)
}
contentItem: Text {
text: mainItem.text
color: DefaultStyle.main2_600
width: tooltipBackground.width
wrapMode: Text.Wrap
elide: Text.ElideRight
}
}