This commit is contained in:
MikeTheWatchGuy 2018-07-13 16:55:02 -04:00
commit bd299905b1
1 changed files with 26 additions and 0 deletions

View File

@ -486,6 +486,9 @@ Output re-routes `Stdout` to a scrolled text box. It's used with Async forms.
Scale - How much to scale size of element
Size - Size of element (width, height) in characters
> Scale - How much to scale size of element
> Size - Size of element (width, height) in characters
### Input Elements
These make up the majority of the form definition. Optional variables at the Element level override the Form level values (e.g. `Size` is specified in the Element). All input Elements create an entry in the list of return values. A Text Input Element creates a string in the list of items returned.
@ -498,12 +501,20 @@ Output re-routes `Stdout` to a scrolled text box. It's used with Async forms.
Scale=(None, None),
Size=(None, None),
AutoSizeText=None)
<<<<<<< HEAD
.
DefaultText - Text initially shown in the input box
Scale - Amount size is scaled by
Size - (width, height) of element in characters
AutoSizeText - Bool. True is element should be sized to fit text
=======
> DefaultText - Text initially shown in the input box
> Scale - Amount size is scaled by
> Size - (width, height) of element in characters
> AutoSizeText - Bool. True is element should be sized to fit text
>>>>>>> caad84a674b8248c518e707c8f8cc87a7b30664e
Shorthand functions that are equivalent to `InputText` are `Input` and `In`
@ -526,6 +537,11 @@ Also known as a drop-down list. Only required parameter is the list of choices.
Size - (width, height) of element in characters
AutoSizeText - Bool. True if size should fit the text length
> Values Choices to be displayed. List of strings
> Scale - Amount to scale size by
> Size - (width, height) of element in characters
> AutoSizeText - Bool. True if size should fit the text length
#### Radio Button Element
Creates one radio button that is assigned to a group of radio buttons. Only 1 of the buttons in the group can be selected at any one time.
@ -541,6 +557,7 @@ Creates one radio button that is assigned to a group of radio buttons. Only 1 o
AutoSizeText=None,
Font=None)
<<<<<<< HEAD
.
Text - Text to display next to button
@ -552,7 +569,16 @@ Creates one radio button that is assigned to a group of radio buttons. Only 1 o
Font - Font type and size for text display
=======
>>>>>>> caad84a674b8248c518e707c8f8cc87a7b30664e
> Text - Text to display next to button
> GroupID - Variable to groups together multiple Radio Buttons. Can be any value
> Default - Bool. Initial state
> Scale - Amount to scale size of element
> Size - (width, height) size of element in characters
> AutoSizeText - Bool. True if should size width to fit text
> Font - Font type and size for text display
#### Checkbox Element
#### Spin Element