compose-desktop Questions
3
Solved
I am going to develop a POS system using Kotlin Jetpack Compose and I wanna know how to trigger keyboard input events inside my project.
Contraceptive asked 3/9, 2021 at 6:18
1
Solved
Trying to integrate Jetpack ViewModel into KMP project.
With the following configuration, desktop app cannot be compiled (error bellow).
libs.versions.toml
androidxLifecycle = "2.8.0"
koi...
Landin asked 21/5 at 4:35
1
I've been playing around with Compose for Desktop, and I am trying to figure out how Jetbrain styled the Tray Composable. I am assuming that's what they used to build the Jetbrains Toolbox since th...
Adalia asked 3/11, 2022 at 0:53
4
Solved
I am creating an application in Jetpack Compose Desktop which will take user input and after user reopens the application that input value should be there. I mean a user given data should be there ...
Refined asked 16/9, 2021 at 14:21
4
Solved
There's applications I'd like to write where I'd like some things to occur on a schedule.
Polling a URL for updates every few minutes seems to be a fairly common use case. In this particular case, ...
Sonora asked 20/2, 2022 at 4:17
2
Any idea of how to approach clickable areas on images? It would be great if in desktop mode (yeah the desktop mode is available now; see https://www.jetbrains.com/lp/compose) there was something li...
Kalong asked 16/11, 2020 at 9:8
4
Solved
How to load image from remote url in Kotlin Compose desktop?
in Android it use coli as official sample
@Composable
fun NetworkImage(
url: String,
modifier: Modifier = Modifier,
contentScale: Con...
Vesicatory asked 2/2, 2021 at 2:3
3
In Jetpack Compose for android you can do this:
val fontFamily = FontFamily(
Font(
resId = R.font.my_font_400_regular,
weight = FontWeight.W400,
style = FontStyle.Normal
),
Font(
resId = R....
Northeast asked 9/3, 2021 at 12:15
2
Solved
I am an Android developer and I have experience with Jetpack Compose. Now, I am trying to build desktop apps, so I found this Compose for Desktop project. I want to store a JSON file with my deskto...
Clung asked 27/6, 2022 at 19:2
2
Solved
I can't find preview tab in my editor for Compose Desktop!
how can I enable this feature?
Emogene asked 30/4, 2023 at 15:15
3
How to open a link in the browser if I click on a button. I am using Compose for Desktop for it.
Button(onClick = {
// What I have to write here..
}) {
Text(
text = "Open a link",
col...
Basketwork asked 8/7, 2021 at 17:56
2
I am writing a desktop application using desktop compose.
But unable to find any suggestion on how to use web-view like in android we are supposed to use.
For desktop-app, we can not use android we...
Effeminate asked 13/6, 2021 at 13:57
1
Solved
as you all may know a Composable function names in Jetpack Compose should start with Uppercase.
but in Compose Desktop editor shows warning when I use Uppercase letter for my Composable first lette...
Duprey asked 30/4, 2023 at 15:11
7
Solved
How to load images from the hard disk when using Kotlin compose on the desktop?
Paracelsus asked 8/11, 2020 at 20:0
1
I know it's possible to set the version in build.gradle → nativeDistributions.packageVersion ...
but how does one read that version in the source code of the app, for example to print it in the app...
Bloodstain asked 3/5, 2022 at 16:40
1
Solved
I am making an app using Compose for Desktop. I am trying to include a simple file download Icon that I know is included in the lengthy set of Material Icons, however it is not available under Icon...
Peekaboo asked 29/4, 2022 at 15:57
1
How can I make two windows on jetpack compose desktop and going from window to another when I click button for example?
fun main() = application {
Window(
onCloseRequest = ::exitApplication,
tit...
Markhor asked 19/5, 2022 at 1:38
2
Solved
I am trying to use a .svg (vector file) to show an image but I am stuck and not able to do it. Is there any way I can use it, I tried to use it like this
Image(imageFromResource("svg_file_name...
Magnusson asked 29/7, 2021 at 13:2
1
Solved
For some reason LazyColumns do not scroll with a mouse click and move gesture. It only works with the mouse wheel so far. For LazyRows it is also not possible to scroll with the mouse wheel. It see...
Icsh asked 19/1, 2022 at 16:13
1
Solved
I'm making a chess engine on desktop compose, one of the things I'm trying to implement is a TextField where i can paste in several moves to recreate games.
I'm having problems saving the text that...
Helenhelena asked 23/11, 2021 at 20:30
1
Solved
i am new to the jetpack compose. I did a lot of research on that topic but i can't find anything useful. What i wanna achieve is that if I close my window, my application will stay in the backgroun...
Verduzco asked 7/11, 2021 at 1:37
1
Solved
I want to remove windows default title bar so I can create my own that matches my application. I searched around but couldn't find anything.
Thanks
Genovera asked 24/9, 2021 at 3:41
3
Solved
I have a TextField for a search query and a Button that will execute the search and the results are shown in a column. Since the search takes a few seconds to run I want it to be executed on button...
Viscount asked 3/8, 2021 at 20:13
1
Solved
Keys are printed when the TextField is focused but not when the Box itself if focused.
Box(
modifier = Modifier.onKeyEvent {
println(it.key)
false
}.fillMaxSize().focusable()
) {
val fieldValu...
Cochin asked 7/8, 2021 at 16:44
1
Solved
The below code is for Jetbrains Desktop Compose. It shows a card with a button on it, right now if you click the card "clicked card" will be echoed to console. If you click the button it ...
Chevrette asked 22/8, 2021 at 0:39
1 Next >
© 2022 - 2024 — McMap. All rights reserved.