Giter Site home page Giter Site logo

Comments (2)

IgnaceMaes avatar IgnaceMaes commented on May 22, 2024

Thanks for notifying this problem, I hadn't thought about it.

I fixed the IndexOutOfBoundsException by leaving the TabRects by default on null and updating them in the paint if they're null.

The tab indicator not moving on initialization was cause by having no/the wrong previousSelectedTabIndex. It's now automatically set to the selected tab in when assigning a baseTabControl. If it's -1 it just takes the current selected index.

I'm not sure if a ripple animation should be shown when programmatically changing the SelectedIndex because it represents a user interaction. However if it gets in there, starting from the center would be the most logical. I'll think about it.

And I'm glad you like it so far! There is still a lot of controls to be made ;)

from materialskin.

AlexxEG avatar AlexxEG commented on May 22, 2024

No problem :)

I would say no ripple animation when changing programmatically would be best then.

from materialskin.

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.