Giter Site home page Giter Site logo

Comments (4)

mikke89 avatar mikke89 commented on July 26, 2024 1

Hey there. There are no built-in styles in RmlUi, so you have to define them all yourself. Of course, feel free to take a look at our samples and tests.

See also the documentation, it documents how to style some of the built-in elements: https://mikke89.github.io/RmlUiDoc/pages/style_guide.html

from rmlui.

mikke89 avatar mikke89 commented on July 26, 2024 1

You can style them however you'd like using normal RCSS rules, spritesheets just being one way. For more complex shapes, like a checkmark, a sprite does make a lot of sense though.

By the way, I figured the documentation page wasn't entirely clear, so I made some changes just now to improve the introduction of it.

from rmlui.

jakerieger avatar jakerieger commented on July 26, 2024 1

Makes sense, I'm gonna close this as I should be able to figure it out from here. Figured I missed something in the docs and looks like I did. Thanks for the help!

from rmlui.

jakerieger avatar jakerieger commented on July 26, 2024

I checked out the documentation you linked and it seems like spritesheets are how you're defining different element states. Is this the approach I would take for the checkbox? Use a spritesheet containing unchecked and checked sprites and just switch between them?

from rmlui.

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.