Need a vertical/horizontal expand/contract layout (Row?) #2

Closed
opened 2024-05-18 12:13:35 -06:00 by sashakoshka · 0 comments
Owner

Configurable like a grid, but just for one row/column so we can use vararg instead of bool slices

Something like:

type Row bool
const RowHorizontal = false
const RowVertical = true
func (Row) New (slots ...bool) tomo.Layout

Or

type Row struct { ... }
func NewVerticalRow (slots ...bool) tomo.Layout
func NewHorizontalRow (slots ...bool) tomo.Layout
Configurable like a grid, but just for one row/column so we can use vararg instead of bool slices Something like: ```go type Row bool const RowHorizontal = false const RowVertical = true func (Row) New (slots ...bool) tomo.Layout ``` Or ```go type Row struct { ... } func NewVerticalRow (slots ...bool) tomo.Layout func NewHorizontalRow (slots ...bool) tomo.Layout ```
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: tomo/objects#2
No description provided.