We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2cf83f0 commit ccbdf84Copy full SHA for ccbdf84
1 file changed
internal/compiler/widgets/common/tooltip-base.slint
@@ -12,16 +12,16 @@ export component ToolTipImpl inherits Rectangle {
12
border-color: Palette.border;
13
14
VerticalLayout {
15
- padding-left: root.text != "" ? 9px : 0px;
16
- padding-right: root.text != "" ? 9px : 0px;
17
- padding-top: root.text != "" ? 6px : 0px;
18
- padding-bottom: root.text != "" ? 6px : 0px;
+ padding-left: 9px;
+ padding-right: 9px;
+ padding-top: 6px;
+ padding-bottom: 6px;
19
20
- if root.text != "": Text {
+ Text {
21
text: root.text;
22
color: Palette.foreground;
23
}
24
-
25
- @children
26
+
+ @children
27
0 commit comments