kotlin_ui_dsl.md/kotlin_ui_dsl_version_2.md: add information about the packages at the top of the page for easier recognition

This commit is contained in:
Karol Lewandowski 2022-06-09 16:08:42 +02:00
parent 25b74dc621
commit 0481c35b01
2 changed files with 4 additions and 0 deletions

View File

@ -18,6 +18,8 @@ It shares similarities with [Jetpack Compose](https://developer.android.com/jetp
>
{type="note"}
The _Kotlin DSL Version 1_ functions are located in the [`com.intellij.ui.layout`](upsource:///platform/platform-impl/src/com/intellij/ui/layout) package.
## Layout Structure
> See [Layout](https://jetbrains.design/intellij/principles/layout) topic in IntelliJ Platform UI Guidelines for recommendations on arranging UI controls in dialogs.

View File

@ -13,6 +13,8 @@ It supports many core Swing components and custom components widely used in JetB
The library is written in [Kotlin](kotlin.md) and makes it easy to develop user interfaces like dialogs and settings by using declarative syntax.
The _Kotlin DSL Version 2_ functions are located in the [`com.intellij.ui.dsl.builder`](upsource:///platform/platform-impl/src/com/intellij/ui/dsl/builder) package.
## UI DSL Examples
It is highly recommended taking a look at the UI DSL demo available via <menupath>Tools | Internal Actions | UI | UI DSL Showcase</menupath> (see [Internal Actions](internal_actions_intro.md) if not available in your IDE instance).