Comments (5)
Can you elaborate on what is made more difficult for you by this API?
The reason that the dialog takes a width is because it needs the width to determine how much padding to add to center the dialog. An alternative design would be to remove the width parameter and the automatic dialog centering. The reason I didn't go with that approach is that I assumed that anyone using the dialog API would never find that a useful outcome and would prefer the dialog centered. However, I can also see a non-centered dialog useful as an independent layer along with a translation.
Thanks!
from brick.
How does one make a dialog that doesn't crash, when the terminal window is too small?
Alternatively, how does one make a dialog that takes 100% of screen width?
from brick.
Can you be more specific about what you mean by "crash"?
As for the width, as I described above, the automatic centering would need to be removed.
from brick.
Basically, I get program exit with:
corr: row 1 now exceeds region width
..where the render code is like this..
..whoops, the recent modifications I've made, which the git history doesn't have, and which I'm not sure how to undo, apparently fix this.
Hmm. I'm not sure how to proceed with this anymore..
from brick.
Okay. If you encounter the problem again, see if you can provide me with a minimal test program. I'd be happy to try to run it and debug it for myself. I'll close this in the mean time; feel free to re-open it if this comes up again!
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.