Code Monkey home page Code Monkey logo

Comments (4)

razmaimon avatar razmaimon commented on July 2, 2024

*SOLVED BY:
adding in class DefaultLabelAnimator
in method: setLabelAnchored

after calculating the float values, add:

    ViewGroup.LayoutParams params = label.getLayoutParams();
    params.width = inputWidget.getWidth() - inputWidget.getPaddingLeft() - inputWidget.getPaddingRight();
    label.setLayoutParams(params);

from android-floatinglabel-widgets.

vpratfr avatar vpratfr commented on July 2, 2024

Hi,

can you submit a pull request against the develop branch so that we can merge it easily?

I think the proper way to fix that would be to use paddingStart and paddingEnd instead of paddingLeft and paddingRight.

thanks for the report, good catch.

from android-floatinglabel-widgets.

razmaimon avatar razmaimon commented on July 2, 2024

i did...
i am not familiar with the whole gitHub stuff, so maybe i did it wrong....

http://www.ideomobile.com/

Raz Maimon / Project Manager, Dev. Team Leader
[email protected] /054-6539487

IdeoMobile
http://www.Ideomobile.com http://www.ideomobile.com/

On Wed, Jul 1, 2015 at 6:09 PM, Vincent Prat [email protected]
wrote:

Hi,

can you submit a pull request against the develop branch so that we can
merge it easily?

I think the proper way to fix that would be to use paddingStart and
paddingEnd instead of paddingLeft and paddingRight.

thanks for the report, good catch.


Reply to this email directly or view it on GitHub
#35 (comment)
.

from android-floatinglabel-widgets.

vpratfr avatar vpratfr commented on July 2, 2024

Ok. Thanks, I'll have a look as soon as I get time.

from android-floatinglabel-widgets.

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.