Git Product home page Git Product logo

Comments (6)

Shinmera avatar Shinmera commented on August 26, 2024

I think the overlapping is a problem with the renderer's z-sorting.

Also, it is a combo-box, just not a combination of a search field and drop down, but a button and a drop down.

from alloy.

Trashtalk217 avatar Trashtalk217 commented on August 26, 2024

Would it be handy for a combo box to have a default value as in:
(combo (alloy:represent selection 'alloy:combo-set :value-set '(:a :b :c) :default :foo)))
to fill the box with when nothing is explicitly chosen? When no :default is supplied the box stays empty.

Maybe this default value could also be the first element of the :value-set and you would supply NIL if you wanted the box to be empty.

from alloy.

Shinmera avatar Shinmera commented on August 26, 2024

The "default" is whatever the data is set to when you represent it. So in your case, make sure selection is set to an actual element that's part of the value-set.

from alloy.

Shinmera avatar Shinmera commented on August 26, 2024

Having the combo be a search field to trim down on possible entries in the set would be very good though. Just not sure how to go about it yet.

from alloy.

Trashtalk217 avatar Trashtalk217 commented on August 26, 2024

There are definitely a lot of "modern" UI components that would be nice to have. From elements as small as chips to things as big as date selectors.

from alloy.

Shinmera avatar Shinmera commented on August 26, 2024

Stuff like a date selector, and arguably the combo, too, should rather be structures than components. So far I've intended on keeping components as minimal as possible, and instead making everything else a structure -- a combination of layouts and components.

That part of Alloy needs some rethinking, though.

from alloy.

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.