mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-07 12:16:42 +01:00
add align_s/n; position playhead
This commit is contained in:
parent
61992ab2a2
commit
9cd9131d5d
5 changed files with 79 additions and 104 deletions
|
|
@ -141,6 +141,8 @@ pub trait Layout<E: Engine>: Widget<Engine = E> + Sized {
|
|||
fn align_ne (self) -> Align<Self> { Align::NE(self) }
|
||||
fn align_e (self) -> Align<Self> { Align::E(self) }
|
||||
fn align_se (self) -> Align<Self> { Align::SE(self) }
|
||||
fn align_n (self) -> Align<Self> { Align::N(self) }
|
||||
fn align_s (self) -> Align<Self> { Align::S(self) }
|
||||
fn align_x (self) -> Align<Self> { Align::X(self) }
|
||||
fn align_y (self) -> Align<Self> { Align::Y(self) }
|
||||
fn fixed_x (self, x: E::Unit) -> Fixed<E::Unit, Self> { Fixed::X(x, self) }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue