Skip to content

Commit

Permalink
Merge pull request #1524 from edwin0cheng/typo
Browse files Browse the repository at this point in the history
typo in doc
  • Loading branch information
edwin0cheng authored Jan 10, 2021
2 parents 652058d + a18e3fa commit 7545dc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion druid/src/widget/widget_ext.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ pub trait WidgetExt<T: Data>: Widget<T> + Sized + 'static {
SizedBox::new(self).width(width)
}

/// Wrap this widget in a [`SizedBox`] with an explicit width.
/// Wrap this widget in a [`SizedBox`] with an explicit height.
///
/// [`SizedBox`]: widget/struct.SizedBox.html
fn fix_height(self, height: f64) -> SizedBox<T> {
Expand Down

0 comments on commit 7545dc7

Please sign in to comment.