Skip to content

Commit

Permalink
Migrate away from deprecated API.
Browse files Browse the repository at this point in the history
  • Loading branch information
GitHubPang committed Jan 26, 2023
1 parent 44d3ebe commit 0044174
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@ package org.example.githubpang.rossynt.settings
import com.intellij.openapi.fileChooser.FileChooserDescriptorFactory
import com.intellij.openapi.ui.TextFieldWithBrowseButton
import com.intellij.ui.components.JBRadioButton
import com.intellij.ui.dsl.builder.AlignX
import com.intellij.ui.dsl.builder.Cell
import com.intellij.ui.dsl.builder.panel
import com.intellij.ui.dsl.builder.selected
import com.intellij.ui.dsl.gridLayout.HorizontalAlign
import com.intellij.ui.layout.selected
import com.intellij.util.text.nullize
import javax.swing.JPanel

Expand Down Expand Up @@ -42,7 +41,7 @@ internal class PluginSettingsUi {
it.name.startsWith("dotnet")
},
)
.horizontalAlign(HorizontalAlign.FILL)
.align(AlignX.FILL)
.enabledIf(radioButtonDotNetPathCustomCell!!.selected)
.component
}
Expand Down

0 comments on commit 0044174

Please sign in to comment.