mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
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:
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user