added text::Shaping to Tooltip
This commit is contained in:
parent
dd249a1d11
commit
9bbf7822e9
1 changed files with 6 additions and 0 deletions
|
|
@ -64,6 +64,12 @@ where
|
|||
self
|
||||
}
|
||||
|
||||
/// Sets the [`text::Shaping`] strategy of the [`Tooltip`].
|
||||
pub fn text_shaping(mut self, shaping: text::Shaping) -> Self {
|
||||
self.tooltip = self.tooltip.shaping(shaping);
|
||||
self
|
||||
}
|
||||
|
||||
/// Sets the font of the [`Tooltip`].
|
||||
///
|
||||
/// [`Font`]: Renderer::Font
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue