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)