mirror of
https://github.com/jlengrand/compose-multiplatform.git
synced 2026-03-10 08:11:20 +00:00
Updated [Swing interoperability] tutorial accordingly to build149.
This commit is contained in:
@@ -202,14 +202,11 @@ fun main() {
|
||||
Button("1. Compose Button: increment", inc)
|
||||
Spacer(modifier = Modifier.height(20.dp))
|
||||
|
||||
Box(
|
||||
modifier = Modifier.size(270.dp, 90.dp)
|
||||
) {
|
||||
SwingPanel(
|
||||
component = swingBox(dec),
|
||||
background = Color.White
|
||||
)
|
||||
}
|
||||
SwingPanel(
|
||||
background = Color.White,
|
||||
modifier = Modifier.size(270.dp, 90.dp),
|
||||
componentBlock = { swingBox(dec) }
|
||||
)
|
||||
|
||||
Spacer(modifier = Modifier.height(20.dp))
|
||||
Button("2. Compose Button: increment", inc)
|
||||
|
||||
Reference in New Issue
Block a user