Remove 2 suffix for ui, storybook, text

Co-authored-by: Mikayla <mikayla@zed.dev>
This commit is contained in:
Max Brunsfeld 2024-01-03 12:33:51 -08:00
parent 0cf65223ce
commit 4305c5fdbe
142 changed files with 106 additions and 5018 deletions

10
crates/ui/src/fixed.rs Normal file
View file

@ -0,0 +1,10 @@
use gpui::DefiniteLength;
/// A trait for elements that have a fixed with.
pub trait FixedWidth {
/// Sets the width of the element.
fn width(self, width: DefiniteLength) -> Self;
/// Sets the element's width to the full width of its container.
fn full_width(self) -> Self;
}