|
|
@ -40,8 +40,8 @@ class ComposeDemoAction : DumbAwareAction() { |
|
|
|
|
|
|
|
|
|
|
|
override fun createCenterPanel(): JComponent { |
|
|
|
override fun createCenterPanel(): JComponent { |
|
|
|
val dialog = this |
|
|
|
val dialog = this |
|
|
|
var packed = false |
|
|
|
|
|
|
|
return ComposePanel().apply { |
|
|
|
return ComposePanel().apply { |
|
|
|
|
|
|
|
preferredSize = Dimension(800, 600) |
|
|
|
setContent { |
|
|
|
setContent { |
|
|
|
ComposeSizeAdjustmentWrapper( |
|
|
|
ComposeSizeAdjustmentWrapper( |
|
|
|
window = dialog, |
|
|
|
window = dialog, |
|
|
|