Refactor and simplify input_method API
This commit is contained in:
parent
d5ee9c2795
commit
ae10adda74
19 changed files with 540 additions and 472 deletions
|
|
@ -129,6 +129,12 @@ impl<P: Paragraph> Plain<P> {
|
|||
self.raw.min_width()
|
||||
}
|
||||
|
||||
/// Returns the minimum height that can fit the contents of the
|
||||
/// [`Paragraph`].
|
||||
pub fn min_height(&self) -> f32 {
|
||||
self.raw.min_height()
|
||||
}
|
||||
|
||||
/// Returns the cached [`Paragraph`].
|
||||
pub fn raw(&self) -> &P {
|
||||
&self.raw
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue