bonsai
bonsai copied to clipboard
:deciduous_tree: A multiplatform tree view for Jetpack Compose
When bonsai is rendering the tree, an class not found exception is thrown. After investigate, the solution is to add the dependency (gradle): var icons = "1.1.1" implementation("org.jetbrains.compose.material:material-icons-extended-desktop:$icons") I dont...
Branch("Carnivora", customName = { Text("Full Width", modifier = Modifier.fillMaxWidth().background(Color.Magenta)) } That doesn't work. It's still minimum width. Please help :)
It would be great to be able to drag items to re-order them, nest them. Something like this: https://github.com/aclassen/ComposeReorderable
I am facing a memory leak when using this library. I think it's probably due to the `Composition` used in [bonsai/core/tree/Tree.kt](https://github.com/adrielcafe/bonsai/blob/main/bonsai-core/src/commonMain/kotlin/cafe/adriel/bonsai/core/tree/Tree.kt#L39-L40). There is a method for disposing the composition (`composition.dispose()`)...
https://prnt.sc/SbWq83WqN8TG
Gives more flexibility to create Bonsais so that can be implemented in the way that best adapts to the code of whoever is using it. ```kotlin Bonsai(tree) { // this:...
Other Apple softwares support should be added as well like macOS, watchOS and tvOS, I will think about This PR will be updated soon Depends on #18 Closes #11
Keyboard/controller arrow keys move focus strangely through the tree, at least according to normal conventions. Left arrow on a leaf is normally expected to always go up to the leaf's...