Browse Source

Updated [Swing interoperability] tutorial accordingly to build149.

pull/351/head 0.3.0-build150
Roman Sedaikin 4 years ago
parent
commit
8ba54b0c5b
  1. 13
      tutorials/Swing_Integration/README.md

13
tutorials/Swing_Integration/README.md

@ -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)

Loading…
Cancel
Save