Ralph Ordanza
12/08/2022, 12:30 AMTray
?Pablo
12/08/2022, 11:06 AMHIGAN
12/08/2022, 11:24 AMjava.awt.Window$CustomWindowDecoration
by reflection, maybe you need Unsafe
to access it in JBR-17
There are some sample codes for it:
1. CustomWindowDecorationAccessing
2. UnsafeAccessing
3. JBWindow and MainToolBar in different platform
4. About JetBrainsRuntime
5. Screenshotseygraber
12/08/2022, 2:49 PMArjan van Wieringen
12/09/2022, 6:27 PMGuilherme Delgado
12/12/2022, 4:26 PMAlexander Maryanovsky
12/12/2022, 5:21 PMCasey Brooks
12/12/2022, 7:36 PMJohn O'Reilly
12/13/2022, 12:46 PMJan
12/14/2022, 6:21 PMenighma
12/14/2022, 11:16 PMPablo
12/15/2022, 2:45 PM@Composable
fun test() {
val scaffoldState = rememberScaffoldState()
val scope = rememberCoroutineScope()
Scaffold(
scaffoldState = scaffoldState,
floatingActionButton = {
var clickCount by remember { mutableStateOf(0) }
ExtendedFloatingActionButton(
text = { Text("Show snackbar") },
onClick = {
// show snackbar as a suspend function
scope.launch {
scaffoldState.snackbarHostState.showSnackbar("Snackbar # ${++clickCount}")
}
}
)
},
content = { innerPadding ->
Text(
text = "Body content",
modifier = Modifier.padding(innerPadding).fillMaxSize().wrapContentSize()
)
}
)
}
Maybe is not compatible with Compose-Desktop?martmists
12/15/2022, 5:35 PM-dontwarn
option to proguard?
edit: It seems someone reacted with "Not Kotlin", but this is quite literally from the Compose plugin. There's no proguard.gradle.ProGuardTask
as the proguard docs would suggest, and the compose docs also don't mention how to customize it.Pablo
12/16/2022, 5:41 PMPablo
12/16/2022, 7:07 PMDaniyar Mukhanov
12/19/2022, 6:15 AMianbrandt
12/21/2022, 9:54 PMenighma
12/22/2022, 1:26 AMTimur Zadvornov
12/23/2022, 7:26 AMfillMaxSize
black box. I thought it's on debug build only but on distributable production build it reproduces tooMarc Ivan Lim
12/23/2022, 9:09 AMArjan van Wieringen
12/23/2022, 1:54 PMLandry Norris
12/23/2022, 3:31 PMcompose.uiTooling
to my androidMain and enabled view attributes in developer settings, but whenever I check the Layout Inspector, I only see the top level container view. When I expand it, I only see DisposableEffect and two SideEffects (which I’m not directly using).Alexander Maryanovsky
12/24/2022, 10:20 AMwrapContentWidth
snackbar? Fixed-width works, but not wrap. The default fillMaxWidth
behavior isn’t really appropriate for the desktop.Loney Chou
12/25/2022, 3:33 PMRussell Kenmuir
12/25/2022, 11:33 PMDaniyar Mukhanov
12/26/2022, 9:47 AMsigmadelta
12/26/2022, 10:15 PMid("application")
plugin.
When doing this however, I somehow can’t seem to get a reference to the commonMain
module inside of the Multiplatform project. Is this scenario supported or should I also consider adding another separate common
module to be shared between the 2?Sean Proctor
12/28/2022, 9:31 AMPopup
on Compose for desktop that works like a Dialog
on Compose for Android? I'm missing two features: shading the content behind the Popup
and clicking on that content dismissing it without also having clicking on the Popup
itself causing it to be dismissed. androidx.compose.material.AlertDialog
doesn't do either of these.ptmt
12/28/2022, 6:06 PMPablichjenkov
12/30/2022, 4:23 AMjvm/android
project to a multiplatform(jvm/android/ios/js)
project, I get the following compile error:
Task :compileKotlinJs FAILED
e: Unresolved reference: javaClass
and
Task :compileKotlinUikitX64 FAILED
e: Unresolved reference: javaClass
Is there any equivalent to javaClass in kotlin native. Or something that return the name of the class. I need it for debuging purposes