Git Product home page Git Product logo

Comments (10)

jlgerber avatar jlgerber commented on July 22, 2024 6

I would like to suggest two more advanced widgets - a table and a tree.
(eg GtkTable and GtkTreeView)
These widgets are both pretty ubiquitous in non-trivial real world applications.

from druid.

futurepaul avatar futurepaul commented on July 22, 2024 5

Bumping this with a progress report.

With caveats, here's what is functional right now:

  • Align
  • Button
  • Checkbox
  • Flex
  • Label (single line)
  • Padding
  • Progress Bar
  • Radio button (@futurepaul, #150)
  • Scroll
  • SizedBox
  • Slider
  • Textbox (single line)
  • Container (@zaynetro, #148)
  • List (@raphlinus)

Other basic widgets / extended functionality I believe we need:

  • Combo Box
  • Dropdown List
  • Dropdown Menu
  • Multiline Label
  • Multiline Textbox

What else do we need for a minimum widget set? I'm especially interested in anything Runebender-motivated.

from druid.

rjwittams avatar rjwittams commented on July 22, 2024 3

I've got a table in progress at. https://github.com/rjwittams/druid_table

from druid.

raphlinus avatar raphlinus commented on July 22, 2024 1

Rearchitecture seems to go with the territory, Flutter rearchitected their scrolling a year or so ago. It's pretty complicated under the hood. I'm personally leaning towards doing the simplest thing (eagerly instantiating the children) and then figuring out where that falls short.

from druid.

Engid avatar Engid commented on July 22, 2024

Knob and slider

from druid.

futurepaul avatar futurepaul commented on July 22, 2024

Is a scrollable view the sort of thing that would be a widget? That's a high priority feature for me, and I'd like to help on it if possible, but I don't know exactly where in the stack that's going to be implemented.

from druid.

raphlinus avatar raphlinus commented on July 22, 2024

Yes, it's in scope. However, scrolling is invariably one of the more complex architectural pieces of UI toolkit design. Does it try to instantiate the child widgets lazily? Asynchronously? Part of it depends on the expected scale. I need to do some design work.

This will in fact be a major priority soon in the font editor, because of the scrolling glyph list (on the order of 60k glyphs for a CJK font).

from druid.

futurepaul avatar futurepaul commented on July 22, 2024

I'm not sure if this correlates to how druid is designed, but I think a big part of the React Native rearchitecture is about making scrolling more synchronous.

Anyway, look forward to your design work!

from druid.

mendelt avatar mendelt commented on July 22, 2024

Maybe a ToggleButton? Or would this be something the normal Button could be expanded to do? Or could this be implemented by re-styling a checkbox?
How granular and composable do widgets need to be? I played with QT-Quick some time ago and was quite impressed how flexible and stylable you could make a small collection of very simple composable widgets. Not sure if and how this would work in Rust though.

from druid.

futurepaul avatar futurepaul commented on July 22, 2024

I've lapsed in keeping this updated, we actually have a toggle widget now!

from druid.

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.