Add clip property to Button

This commit is contained in:
Héctor Ramón Jiménez 2024-02-15 01:35:55 +01:00
parent 1150730fc6
commit a73386f68e
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
3 changed files with 19 additions and 4 deletions

View file

@ -80,7 +80,7 @@ where
self
}
/// Sets whether the contents of the [`Column`] should be clipped on
/// Sets whether the contents of the [`Row`] should be clipped on
/// overflow.
pub fn clip(mut self, clip: bool) -> Self {
self.clip = clip;