GithubHelp home page GithubHelp logo

Comments (4)

AndrewLauder avatar AndrewLauder commented on May 20, 2024

Is this a valid issue? If so, @Ganzolo, care to do a PR, or would you like me to do that?

from messagekit.

SD10 avatar SD10 commented on May 20, 2024

@Ganzolo Are you changing the font for the MessageLabel? It should use the same font provided in the MessagesCollectionViewFlowLayout.

@AndrewLauder I haven't looked into this so I don't know if it's a bug or not. Looks like something is off though. I hope to review it in a bit.

from messagekit.

Ganzolo avatar Ganzolo commented on May 20, 2024

@SD10

I did not and I used the same font as the default one in UILabel. It's a very strange issue but it might be related to AutoLayout + preferredFont method.

Here is a person also having trouble with this :

https://stackoverflow.com/questions/34983275/uitext-view-is-getting-randomly-clipped-when-using-autolayout-and-or-preferredfo

@AndrewLauder
My quick fix of hard coding default font size is not good. If you confirm the issue, we need to get rid of preferredFont method. I'll let u do PR then.

Best regards

from messagekit.

SD10 avatar SD10 commented on May 20, 2024

@Ganzolo Do you know which release of the project you're using? I think I've resolved this in v0.5.0.

from messagekit.

Related Issues (20)

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.