Skip to content

Commit

Permalink
In settings, make the text field fill the whole width horizontally.
Browse files Browse the repository at this point in the history
  • Loading branch information
GitHubPang committed Aug 19, 2022
1 parent c5b957f commit 081b56c
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import com.intellij.ui.components.JBRadioButton
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 @@ -41,6 +42,7 @@ internal class PluginSettingsUi {
it.name.startsWith("dotnet")
},
)
.horizontalAlign(HorizontalAlign.FILL)
.enabledIf(radioButtonDotNetPathCustomCell!!.selected)
.component
}
Expand Down

0 comments on commit 081b56c

Please sign in to comment.