mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-01 07:35:40 +00:00
layout: more doc fixes for layout.Format
Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
+4
-4
@@ -43,23 +43,23 @@ type formatError string
|
||||
// right/left insets; three values for top, bottom and right/left
|
||||
// insets; or four values for top, right, bottom, left insets.
|
||||
//
|
||||
// <direction>(widget) applies a directed ALign to widget. Direction
|
||||
// direction(widget) applies a directed Align to widget. Direction
|
||||
// is one of north, northeast, east, southeast, south, southwest, west,
|
||||
// northwest, center.
|
||||
//
|
||||
// hexpand/vexpand(widget) forces the horizontalor or vertical
|
||||
// constraints to their maximum before laying out widget.
|
||||
//
|
||||
// hcap/vcap(<size>, widget) caps the maximum horizontal or vertical
|
||||
// hcap/vcap(size, widget) caps the maximum horizontal or vertical
|
||||
// constraints to size.
|
||||
//
|
||||
// hflex/vflex(<alignment>, children...) lays out children with a
|
||||
// hflex/vflex(alignment, children...) lays out children with a
|
||||
// horizontal or vertical Flex. Each rigid child must be on the form
|
||||
// r(widget), and each flex child on the form f(<weight>, widget).
|
||||
// If alignment is specified, it must be one of: start, middle, end,
|
||||
// baseline. The default alignment is start.
|
||||
//
|
||||
// stack(<alignment>, children) lays out children with a Stack. Each
|
||||
// stack(alignment, children) lays out children with a Stack. Each
|
||||
// Rigid child must be on the form r(widget), and each expand child
|
||||
// on the form e(widget).
|
||||
// If alignment is specified it must be one of the directions listed
|
||||
|
||||
Reference in New Issue
Block a user