mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-06 19:56:42 +01:00
show rich cells
This commit is contained in:
parent
69832723b3
commit
39c44d1e67
3 changed files with 35 additions and 18 deletions
|
|
@ -8,6 +8,14 @@ pub fn map_south<O: Output>(
|
|||
Push::y(item_offset, Align::n(Fixed::y(item_height, Fill::x(item))))
|
||||
}
|
||||
|
||||
pub fn map_south_west<O: Output>(
|
||||
item_offset: O::Unit,
|
||||
item_height: O::Unit,
|
||||
item: impl Content<O>
|
||||
) -> impl Content<O> {
|
||||
Push::y(item_offset, Align::nw(Fixed::y(item_height, Fill::x(item))))
|
||||
}
|
||||
|
||||
pub fn map_east<O: Output>(
|
||||
item_offset: O::Unit,
|
||||
item_width: O::Unit,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue