Skip to content

Commit

Permalink
Replace uses of Cell.horizontalAlign(HorizontalAlign)
Browse files Browse the repository at this point in the history
Fixes #3185

The API is scheduled for removal and is replaced by `Call.align(AlignX.FILL)`.
  • Loading branch information
KronicDeth committed May 5, 2023
1 parent f5a54a9 commit 924050a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Available idea versions:
# https://www.jetbrains.com/intellij-repository/releases
# https://www.jetbrains.com/intellij-repository/snapshots
baseVersion=15.0.1
baseVersion=15.0.2
ideaVersion=2023.1
# MUST stay at 1.8 for JPS (Build/Compile Project) compatibility even if JRE/JBR is newer
javaVersion=17
Expand Down
5 changes: 2 additions & 3 deletions src/org/elixir_lang/new_project_wizard/Step.kt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ import com.intellij.openapi.ui.ValidationInfo
import com.intellij.openapi.util.Disposer
import com.intellij.openapi.util.NlsContexts
import com.intellij.ui.dsl.builder.*
import com.intellij.ui.dsl.gridLayout.HorizontalAlign
import com.intellij.ui.layout.ValidationInfoBuilder
import kotlinx.coroutines.CancellationException
import org.elixir_lang.Elixir
Expand Down Expand Up @@ -67,7 +66,7 @@ class Step(parent: NewProjectWizardLanguageStep) : AbstractNewProjectWizardStep(
row("--app") {
textField()
.bindText(mixNewAppProperty)
.horizontalAlign(HorizontalAlign.FILL)
.align(AlignX.FILL)
.validationOnApply {
if (mixNewApp.isNullOrBlank()) {
val name = this@Step.name
Expand Down Expand Up @@ -97,7 +96,7 @@ class Step(parent: NewProjectWizardLanguageStep) : AbstractNewProjectWizardStep(
row("--module") {
textField()
.bindText(mixNewModuleProperty)
.horizontalAlign(HorizontalAlign.FILL)
.align(AlignX.FILL)
}.bottomGap(BottomGap.SMALL)
row {
checkBox("--sup")
Expand Down

0 comments on commit 924050a

Please sign in to comment.