Adam Brown
12/01/2021, 9:20 PMAdam Brown
12/01/2021, 10:55 PMMichael Paus
12/02/2021, 8:50 AMorg.jetbrains.compose.desktop:desktop-jvm:1.0.0
should that library be usable on Android too? At the moment my code just seems to be source compatible but not binary compatible.Erik Bender
12/02/2021, 1:36 PMDavid W
12/02/2021, 5:28 PMCody Mikol
12/03/2021, 3:54 AMdarkmoon_uk
12/03/2021, 4:05 AMdarkmoon_uk
12/03/2021, 4:23 AMspierce7
12/03/2021, 6:57 AMGeert
12/03/2021, 9:04 AMBrian G
12/03/2021, 4:15 PMandroidx.compose.compiler:compiler:1.1.0-beta04
, while using jetbrains compose 1.0.0 for everything else?Colton Idle
12/03/2021, 9:51 PMMak Ho-Cheung
12/04/2021, 3:56 AMHecki
12/04/2021, 1:13 PMAyfri
12/04/2021, 11:13 PMKebbin
12/05/2021, 10:10 AM.isTertiaryPressed
) button anymore.
I was using the Modifier.pointerInput(Unit)
in 1.0.0-beta5 with Kotlin 1.5.31, and tried just dropping the Compose -beta5
in my Gradle file to upgrade to the release version.
I also tried .onPointerEvent(PointerEventType.Press)
in 1.0.0, but still it doesn't work.
The scroll wheel rotation still works, and the Primary button presses OK.
When pressing the wheel button while holding the Primary button down first, my debugging will show that the middle button is being pressed OK, but my conditional code is not running.Humphrey
12/05/2021, 11:31 AMfun main() = application {
Window(
onCloseRequest = ::exitApplication,
title = "Compose for Desktop",
state = rememberWindowState(width = 600.dp, height = 600.dp)
)
I want it to be able to expand but I don't want it to be to small.Radoslaw Juszczyk
12/05/2021, 5:02 PMnativeDistributions
to generate packages which can be installed. Is there a way to include required native libs in these packages ? So the end user doesnt need to instal VLC separately ?olonho
12/06/2021, 10:04 AMabbic
12/06/2021, 10:56 AMCody Mikol
12/06/2021, 6:15 PMKirill Grouchnikov
12/07/2021, 4:07 PMKirill Grouchnikov
12/07/2021, 5:33 PMDave Barrett
12/07/2021, 11:57 PM@Composable
fun presentDialog() {
val focusManager = LocalFocusManager.current
if (showDialog.value) Popup(alignment = Alignment.TopStart, offset = IntOffset(150, 30)) {
Column(modifier = Modifier.background(Color.White).border(width = 4.dp, color = Colours.person).padding(8.dp)) {
val name = remember { mutableStateOf("Fred") }
TextField(
value = name.value,
onValueChange = { name.value = it },
label = { Text("Name") },
maxLines = 1,
)
Spacer(Modifier.height(3.dp))
val birthYear = remember { mutableStateOf("") }
TextField(value = TextFieldValue(birthYear.value), onValueChange = { birthYear.value = it.text }, label = { Text("Birth Year: ") }, enabled = true)
Row(Modifier.align(Alignment.CenterHorizontally)) {
Button({
println("clicked Cancel")
showDialog.value = false
}) { Text("Cancel") }
Spacer(Modifier.width(6.dp))
Button({
println("clicked Add")
showDialog.value = false
}) { Text("Add Child") }
}
}
}
}
Does anyone know what I'm doing wrong?
thx,
daveFabio
12/08/2021, 5:28 AMNo matching variant of androidx.compose.runtime:runtime:1.1.0-beta01 was found. The consumer was configured to find an API of a library compatible with Java 15, preferably in the form of class files, preferably optimized for standard JVMs, and its dependencies declared externally but:
- Variant 'releaseVariantReleaseApiPublication' capability androidx.compose.runtime:runtime:1.1.0-beta01 declares an API of a library, and its dependencies declared externally:
- Incompatible because this component declares a component, with the library elements 'aar' and the consumer needed a component, preferably in the form of class files
- Other compatible attributes:
- Doesn't say anything about its target Java environment (preferred optimized for standard JVMs)
- Doesn't say anything about its target Java version (required compatibility with Java 15)
when I copy the sample imageView
into my pre-existing project and run build
I noticed that I can change the version required in the following block, but I still don't understand the nature of the error, and I don't know how to reproduce in imageviewer
folder of the compose-jb/examples
itself, only when copied as a subfolder of my project
kotlin {
jvm {
withJava()
}
sourceSets {
named("jvmMain") {
dependencies {
implementation(compose.desktop.currentOs)
implementation(project(":desktop:common"))
implementation("androidx.compose.foundation:foundation:1.1.0-beta02")
}
}
}
}
mcpiroman
12/08/2021, 12:18 PMAli Albaali
12/08/2021, 3:48 PMitems
block? I don't want to set a modifier for the whole LazyColumn
.spierce7
12/09/2021, 7:20 AMKirill Grouchnikov
12/09/2021, 3:54 PMOnGloballyPositionedModifier
to determine the position of this combobox so that I can place the popup / dropdown window accordingly. But in this mode where the window decorations come from the system, both coordinates.localToRoot(Offset.Zero)
and coordinates.localToWindow(Offset.Zero)
give me the same value of Offset(110.0, 99.0)
. Shouldn't localToWindow
account for the height of the title bar?Cody Mikol
12/09/2021, 6:13 PMMonospace
and SansSerif
font family set at the same time?Cody Mikol
12/09/2021, 6:13 PMMonospace
and SansSerif
font family set at the same time?Casey Brooks
12/10/2021, 3:47 PMText()
composable? You can use AnnotatedString
with the builder DSL, or Thistle markup to abstract away that relatively-verbose API.Cody Mikol
12/10/2021, 3:49 PMCasey Brooks
12/10/2021, 3:53 PMCody Mikol
12/10/2021, 3:58 PMChris Sinco [G]
12/10/2021, 9:42 PMCody Mikol
12/10/2021, 9:46 PMChris Sinco [G]
12/10/2021, 10:15 PM