UI DSL: remove limitation of JPasswordField with GrowPolicy.SHORT_TEXT

Since in all new UI components password fields should have the same resizing behavior as any other text fields

Fix for IDEA-215252

GitOrigin-RevId: 888c3f835bcfcd752824de0e1a20b7ddead02fa6
This commit is contained in:
Aleksandr Krasilnikov
2019-07-02 06:52:16 +03:00
committed by intellij-monorepo-bot
parent d45c24a3c8
commit 3ee1463efc
@@ -91,10 +91,6 @@ internal class DefaultComponentConstraintCreator(private val spacing: SpacingCon
cc.value.growX()
}
component is JPasswordField -> {
applyGrowPolicy(cc.value, GrowPolicy.SHORT_TEXT)
}
component is JTextField && component.columns != 0 ->
return