Skip to content

Commit

Permalink
fix(ui): add lost support for idea 222 vertical alignment in grid layout
Browse files Browse the repository at this point in the history
This commit adds support for vertical alignment in the grid layout of the UI. The `VerticalAlign` class is imported and can now be used to specify the vertical alignment of components in the grid layout.
  • Loading branch information
phodal committed Jan 23, 2024
1 parent bb8ced7 commit dfa73cc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/222/main/kotlin/cc/unitmesh/devti/ui.kt
Expand Up @@ -3,6 +3,7 @@ package cc.unitmesh.devti
import com.intellij.ui.dsl.builder.Cell
import com.intellij.ui.dsl.builder.Row
import com.intellij.ui.dsl.gridLayout.HorizontalAlign
import com.intellij.ui.dsl.gridLayout.VerticalAlign
import javax.swing.JComponent

fun <T : JComponent> Row.fullWidthCell(component: T): Cell<T> {
Expand Down

0 comments on commit dfa73cc

Please sign in to comment.