Giter VIP home page Giter VIP logo

Comments (5)

SmartToolFactory avatar SmartToolFactory commented on July 30, 2024 1

I tested it but, of course, there can be an issue. What's the issue you experienced? Any snippet or image would be helpful to understand it.

from compose-bubble.

DimitarGR8 avatar DimitarGR8 commented on July 30, 2024 1

Yes, of course. This code snippet, basically does not draw the arrow on top of the bubble. It actually leaves space for it, however, it does not draw it. Or I am missing something?

val bubbleStateBottom1 = rememberBubbleState(
backgroundColor = Color(0xfffbc02d),
alignment = ArrowAlignment.TopCenter,
arrowShape = ArrowShape.TRIANGLE_ISOSCELES,
cornerRadius = 8.dp,
shadow = BubbleShadow(
elevation = 1.dp
),
padding = Padding(8.dp)
)

BubbleLayout(
modifier = Modifier.horizontalAlign(HorizontalAlignment.Center),
bubbleState = bubbleStateBottom1
) {
Text(text = "Arrow should be top center, but it is missing..", color = Color.White)
}
}

image

from compose-bubble.

SmartToolFactory avatar SmartToolFactory commented on July 30, 2024 1

Thanks for the feedback. I will check this and update if there are any bugs.

from compose-bubble.

DimitarGR8 avatar DimitarGR8 commented on July 30, 2024

In case of no issues, could you please let me know what am I missing? Thanks in advance!

from compose-bubble.

SmartToolFactory avatar SmartToolFactory commented on July 30, 2024

There are many issues with BubbleColumn. Since i haven't created any release yet for this library i will remove it, instead of deprecating, and create a release only with Modifier.drawBubble, Modifier.drawBubbleShape, and option to get bubble shape which you can easily add padding as big as arrow width or height to not place Composables where arrow is

from compose-bubble.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.