mirror of
https://github.com/jtdaugherty/brick.git
synced 2024-12-02 11:05:10 +03:00
FormDemo: UI nit
This commit is contained in:
parent
ee9b476adf
commit
eca0b2abbf
@ -33,7 +33,7 @@ makeLenses ''FormState
|
||||
mkForm :: FormState -> Form FormState e Name
|
||||
mkForm =
|
||||
newForm [ editShowableField field1 Edit1
|
||||
`withHelper` (\w -> str "Edit 1: " <+> w)
|
||||
`withHelper` (\w -> (hCenter $ str "Edit 1:") <=> w)
|
||||
, editShowableField field2 Edit2
|
||||
`withHelper` (\w -> str "Edit 2: " <+> w)
|
||||
, editPasswordField fieldPassword Password
|
||||
|
Loading…
Reference in New Issue
Block a user