|
|
@ -202,14 +202,11 @@ fun main() { |
|
|
|
Button("1. Compose Button: increment", inc) |
|
|
|
Button("1. Compose Button: increment", inc) |
|
|
|
Spacer(modifier = Modifier.height(20.dp)) |
|
|
|
Spacer(modifier = Modifier.height(20.dp)) |
|
|
|
|
|
|
|
|
|
|
|
Box( |
|
|
|
SwingPanel( |
|
|
|
modifier = Modifier.size(270.dp, 90.dp) |
|
|
|
background = Color.White, |
|
|
|
) { |
|
|
|
modifier = Modifier.size(270.dp, 90.dp), |
|
|
|
SwingPanel( |
|
|
|
componentBlock = { swingBox(dec) } |
|
|
|
component = swingBox(dec), |
|
|
|
) |
|
|
|
background = Color.White |
|
|
|
|
|
|
|
) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Spacer(modifier = Modifier.height(20.dp)) |
|
|
|
Spacer(modifier = Modifier.height(20.dp)) |
|
|
|
Button("2. Compose Button: increment", inc) |
|
|
|
Button("2. Compose Button: increment", inc) |
|
|
|