makobernal
04/14/2021, 5:16 PMsamuel
04/14/2021, 10:12 PMLazyColumn
with a VerticalScrollBar
, i’m using
rememberScrollbarAdapter
as the adapter and it requires averageItemSize
. I could imagine this works fine when the items are expected to be the same size. How do i handle the case when items might not be the same size. Is there an alternative i might have missed?Marc Plano-Lesay
04/15/2021, 9:55 AMGraham Dean
04/15/2021, 9:58 AMjavafx
and my build.gradle.kts has these dependencies in it. If I rip out the javafx
dependencies and associated code, the app installs and runs fine. 1) How can I package up my app to run with javafx?, and 2) is there a way to diagnose the running of the .exe issue (e.g. any diagnostics or logs to view)?
build.gradle.kts excerpts:
plugins {
kotlin("jvm") version "1.4.30"
id("org.jetbrains.compose") version "0.3.0"
id("org.openjfx.javafxplugin") version "0.0.9"
}
...
javafx {
modules("javafx.controls", "javafx.swing", "javafx.media")
}
Thanks!Bruno Blazinc
04/15/2021, 1:06 PMOlivier Patry
04/15/2021, 10:24 PMsonder-joker
04/16/2021, 6:55 AMsmallshen
04/16/2021, 7:06 AMspierce7
04/16/2021, 6:59 PMrnett
04/16/2021, 11:20 PMYou are using an outdated version of Compose Runtime
errors from compose, I assume because the plugin it applying itself to all modules. Is there a way to disable compose for some modules? I don't have access to buildFeatures
afaik since I'm not using android.Eli
04/17/2021, 12:28 AMcompose-desktop
in a side project of mine (so I'm really new to this tool), and I'd like to be able to integrate it with a 3rd party rendered component (specifically lets-plot
). I see that the component specifies that it can be rendered with JavaFX and Apache Batik but I'm not seeing a way to be able to render the component using the compose desktop API. I was assuming there would be some sort of panel I could use to be able to position the graph, and then let the component handle the rendering, but perhaps I'm wrong. Does anyone here have any ideas of what I am missing, or is this even possible?SrSouza
04/17/2021, 5:35 PMAaron Yoder
04/17/2021, 8:12 PMandroidx.compose.ui.input.mouse.MouseScrollEvent
and MouseScrollUnit
: I am using a mouseScrollFilter
and am wanting to perform some mathematical operations using the delta
(for zoom on scroll), but I can't seem to figure out how to get the actual value from the delta
, there's no accessors or anything for the raw Float value. I understand there's the line/page scroll values but those don't seem accessible either, so not sure if I'm just thinking about this incorrectly.Carter
04/18/2021, 12:40 PM"statusSummary": "Archive contains critical validation errors",
and
"message": "The signature of the binary is invalid.",
If I roll back to compose 0.3.1 and Kotlin 1.4.30, then the signing issue goes away again.
Is signing broken with the newer version, or did something change with how we’re supposed to configure the gradle build DSL for signing?Timo Drick
04/18/2021, 5:23 PMmzgreen
04/19/2021, 12:29 PMv79
04/19/2021, 7:05 PMFunctions which invoke @Composable functions must be marked with the @Composable annotation
- I can't mark main
as composable; I tried moving the body of my application into a separate @Composable function, but I feel like I'm missing some key understanding here.TheMrCodes
04/20/2021, 12:40 AMZach Klippenstein (he/him) [MOD]
04/20/2021, 4:21 PMColton Idle
04/20/2021, 7:34 PMv79
04/20/2021, 8:23 PMBitmap bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);
But there is no createBitmap function available. Nor pretty much any of the Android Bitmap functions.NurBahnhof
04/20/2021, 8:50 PMCh8n
04/23/2021, 7:58 PMHalil Ozercan
04/23/2021, 11:08 PMtheapache64
04/24/2021, 6:33 PMMarcin Bak
04/24/2021, 10:58 PMIcyrockton
04/25/2021, 1:18 AMPaint
class is differentChris Overcash
04/25/2021, 2:14 PMandroidx.compose.ui.focus
, but the documentation is a little sparse.natario1
04/25/2021, 4:56 PMTheMrCodes
04/25/2021, 8:18 PMTheMrCodes
04/25/2021, 8:18 PMsuresh
04/25/2021, 8:51 PMjava.naming
module is missing in the packaged app. Add java.naming
in modules section - https://github.com/JetBrains/compose-jb/tree/master/tutorials/Native_distributions_and_local_execution#configuring-included-jdk-modulesTheMrCodes
04/25/2021, 9:09 PM