2
0
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:
rivo 2018-04-19 21:07:20 +02:00 committed by GitHub
commit 8d257feeb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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