Code Monkey home page Code Monkey logo

Comments (5)

jtdaugherty avatar jtdaugherty commented on July 30, 2024

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.

deepfire avatar deepfire commented on July 30, 2024

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.

jtdaugherty avatar jtdaugherty commented on July 30, 2024

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.

deepfire avatar deepfire commented on July 30, 2024

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.

jtdaugherty avatar jtdaugherty commented on July 30, 2024

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)

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.