fix for RIDER-38085 Buttons are not moved according to the form size on Manage Layers dialog

GitOrigin-RevId: f051b10ef415cb1ee70e66152c0339902b48841d
This commit is contained in:
graann
2020-01-16 12:04:44 +00:00
committed by intellij-monorepo-bot
parent 56c3f22262
commit db4fc7ec14
@@ -38,8 +38,12 @@ class CustomFrameDialogContent private constructor(val window: Window, content:
header.background = it
}
add(header, "growx, wmin 100")
add(content, "grow")
val pane = JPanel(MigLayout("fill, ins 0, novisualpadding", "[grow]"))
pane.isOpaque = false
pane.add(content, "grow")
add(header, "growx")
add(pane, "wmin 100, grow")
}
fun updateLayout() {