10 lines · 355 B · Rust
RawDownload
use gpui::DefiniteLength; /// A trait for elements that can have a fixed with. Enables the use of the `width` and `full_width` methods.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;}

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t