mirror of
https://github.com/rivo/tview.git
synced 2024-11-15 06:12:46 +00:00
Merge pull request #106 from frankbraun/docufix
Documentation fix for flex.AddItem()
This commit is contained in:
commit
8d257feeb9
4
flex.go
4
flex.go
@ -69,8 +69,8 @@ func (f *Flex) SetFullScreen(fullScreen bool) *Flex {
|
|||||||
// that its size is flexible and may be changed. The "proportion" argument
|
// that its size is flexible and may be changed. The "proportion" argument
|
||||||
// defines the relative size of the item compared to other flexible-size items.
|
// defines the relative size of the item compared to other flexible-size items.
|
||||||
// For example, items with a proportion of 2 will be twice as large as items
|
// For example, items with a proportion of 2 will be twice as large as items
|
||||||
// with a proportion of 1. Must be at least 1 if fixedSize > 0 (ignored
|
// with a proportion of 1. The proportion must be at least 1 if fixedSize == 0
|
||||||
// otherwise)
|
// (ignored otherwise).
|
||||||
//
|
//
|
||||||
// If "focus" is set to true, the item will receive focus when the Flex
|
// If "focus" is set to true, the item will receive focus when the Flex
|
||||||
// primitive receives focus. If multiple items have the "focus" flag set to
|
// primitive receives focus. If multiple items have the "focus" flag set to
|
||||||
|
Loading…
Reference in New Issue
Block a user