Comments (10)
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.
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.
I've got a table in progress at. https://github.com/rjwittams/druid_table
from druid.
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.
Knob and slider
from druid.
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.
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.
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.
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.
I've lapsed in keeping this updated, we actually have a toggle widget now!
from druid.
Related Issues (20)
- Option::Unwrap on a None value layout.rs:228:34 HOT 3
- Selecting multiple files HOT 4
- OSX Tab change input field focus breaks rendering HOT 4
- Make it possible to build "standard" dialogs HOT 1
- Can't compile the program in Chapter 2 of druid book HOT 1
- Docs? HOT 2
- Broken links in the book.
- Window name is not null terminated in X11 HOT 3
- Build error of an empty project: `syn::Type` doesn't implement `Debug` HOT 7
- Issue building druid-derive on macos HOT 1
- Require widget to implement compute_max_intrinsic HOT 7
- App update upgrade features HOT 1
- do we stop to develop the project? HOT 1
- Read data from an other thread HOT 3
- Looks like the documentation is out of date HOT 1
- Opening another window within a Druid application.
- Dual monitor App invisible
- version `GLIBCXX_3.4.29' not found HOT 2
- assertion 'width >= -1' failed on NixOS/Sway HOT 1
- Prevent closing app with cross
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from druid.