We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee389aa commit 7c07e32Copy full SHA for 7c07e32
src/widget/tooltip.rs
@@ -13,9 +13,14 @@ pub fn tooltip<'a, Message: 'a>(
13
match tooltip {
14
Some(tooltip) => iced::widget::tooltip(
15
content,
16
- container(text(tooltip).style(theme::text::secondary).font_maybe(
17
- theme::font_style::secondary(theme).map(font::get),
18
- ))
+ container(
+ text(tooltip)
+ .style(theme::text::secondary)
19
+ .line_height(font::line_height())
20
+ .font_maybe(
21
+ theme::font_style::secondary(theme).map(font::get),
22
+ ),
23
+ )
24
.style(theme::container::tooltip)
25
.padding(8),
26
position,
0 commit comments