Skip to repository content

tenant.openagents/omega

No repository description is available.

OpenAgents Git authority 2026-07-28T04:43:33.248Z Public web read
NIP-34 coordinate30617:7649603503856e5148d571eac2766b288a8ff1e9e35d380337a1d2b0015b4f92:omega
MaintainersHidden in public view
References2 branches · 1 tag
Read-only clonegit clone https://openagents.com/git/tenant.openagents/omega.git
Browse files

fixed.rs

11 lines · 366 B · rust
1use gpui::DefiniteLength;
2
3/// A trait for elements that can have a fixed with. Enables the use of the `width` and `full_width` methods.
4pub trait FixedWidth {
5    /// Sets the width of the element.
6    fn width(self, width: impl Into<DefiniteLength>) -> Self;
7
8    /// Sets the element's width to the full width of its container.
9    fn full_width(self) -> Self;
10}
11
Served at tenant.openagents/omega Member data and write actions are omitted.