From 97d97c36bc8531f8038051e56a1e15aec77b004a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yann=20C=C3=A9bron?= Date: Wed, 24 Jul 2019 14:21:02 +0200 Subject: [PATCH] Kotlin UI DSL: minor --- user_interface_components/kotlin_ui_dsl.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/user_interface_components/kotlin_ui_dsl.md b/user_interface_components/kotlin_ui_dsl.md index 46c1a17bc..ff280153d 100644 --- a/user_interface_components/kotlin_ui_dsl.md +++ b/user_interface_components/kotlin_ui_dsl.md @@ -72,7 +72,7 @@ There are two ways to add child components. The recommended way is to use factor note("""Do not have an account? Sign Up""", span, wrap) ``` -These method also support **property bindings**, allowing you to automatically load the value displayed in the component from a property and to store it back. The easiest way to do that is to pass a reference to a Kotlin bound property: +These methods also support **property bindings**, allowing you to automatically load the value displayed in the component from a property and to store it back. The easiest way to do that is to pass a reference to a Kotlin bound property: ```kotlin checkBox("Show tabs in single row", uiSettings::scrollTabLayoutInEditor) ``` @@ -170,7 +170,7 @@ val panel = panel { ### Combo Boxes -Use the `comboBox` method with either a bound property or a getter/setter pair: +Use the `comboBox` method with either a bound property, or a getter/setter pair: ```kotlin comboBox(DefaultComboBoxModel(tabPlacements), uiSettings::editorTabPlacement)