package cc.unitmesh.devti import com.intellij.ui.dsl.builder.* import javax.swing.JComponent fun Row.fullWidthCell(component: T): Cell { return cell(component) .align(Align.FILL) } fun Cell.fullWidth(): Cell { return this.align(AlignX.FILL) } fun Cell.fullHeight(): Cell { return this.align(AlignY.FILL) } // align right fun Cell.alignRight(): Cell { return this.align(AlignX.RIGHT) }