Comments (2)
Please feel free!
As you tackle this, here are some things to be aware of. It seems to me that since a drop-down menu would want to pop up a floating layer with the list contents on top of the underlying UI, and since the only way to do that is to affect with the top-level [Widget]
produced by the application's drawing function, an approach to this might need to touch both the application state (where you might embed the drop-down open/closed state) and the draw function (where you'd return an extra layer when the list is open). A trick to determine the location of the drop-down for positioning the layer would be to use a cursor position, but that might be awkward.
from brick.
Since this isn't something I intend to do myself, I'm going to close this so we don't have any lingering tickets with unclear outcomes - but if you tackle this, I'll be happy to discuss it on the pull request when the time comes! Thank you!
from brick.
Related Issues (20)
- Is it possible to implement a scrollable spreadsheet with brick? HOT 1
- Horizontally scrollable tabular list widget HOT 42
- Type parameters of the "n" thingy HOT 12
- Requesting discussion group in github or somewhere else. HOT 3
- I can't zoom without template haskell. HOT 5
- I think I discovered a broken link in the docs HOT 1
- Some Alt keyboard shortcuts trigger escape key. HOT 10
- Does renderBox need to crop its contents to the context? HOT 1
- Optics support HOT 5
- renderBox crops the contents to the context width minus one. HOT 4
- Constructing an Editor widget from [(String, String)] HOT 17
- Pressing option minus on Mac before app runs causes sigsegv HOT 5
- Windows support HOT 7
- Question: entering text from user HOT 6
- [WIP] How to unit test Brick apps HOT 3
- I think I found a typo HOT 1
- How to debug Brick applications HOT 4
- ld: library not found for -liconv clang-13: error: linker command failed with exit code 1 (use -v to see invocation) `clang' failed in phase `Linker'. (Exit code: 1 HOT 1
- Wrap repeating code in a function HOT 18
- handleFormEvent doesn't update form field validation state? HOT 22
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 brick.