kt ui layout doc, part 2

This commit is contained in:
Vladimir Krivosheev
2016-09-08 11:34:26 +02:00
parent d3f8420738
commit 97ffda101c
@@ -24,10 +24,10 @@ There are two ways to add child components:
JTextField(credentials?.userName)(grow, wrap)
```
Example:
```kotlin
val panel = panel(fillX) {
label("Login to JetBrains Account to get notified when the submitted\nexceptions are fixed.", span, wrap)
label("Login to get notified when the submitted\nexceptions are fixed.", span, wrap)
label("Username:")
userField(grow, wrap)