Giter VIP home page Giter VIP logo

Comments (4)

kotcrab avatar kotcrab commented on August 26, 2024

InputDialog changes are done.

Not sure what do you mean about writing predefined extension to field, what would that do?

from vis-ui.

kotcrab avatar kotcrab commented on August 26, 2024

Added method to set selected files in chooser, though there's one flaw I couldn't make file list scroll pane to scroll to that file. I can't get proper coordinates of FileItem here. localToParent(Stage)Coordinates returns very weird cords.

from vis-ui.

code-disaster avatar code-disaster commented on August 26, 2024

Not sure what do you mean about writing predefined extension to field, what would that do?

The scenario in our work-in-progress editor: I want to save a file in JSON format, so I open FileChooser with a certain folder and the filter set to .json. But still, the user would need to type "filename - dot - json". The idea is to preset the input field to ".json".

Now as I think of it, I may also expand our own code to conditionally append the extension myself... :)

Thanks a lot for the other changes.

from vis-ui.

kotcrab avatar kotcrab commented on August 26, 2024

Imo having just the extension already in field seems a bit unintuitive. User would have to click at begging of field to use it, if he clicked somewhere else then he needs to use arrow keys to move at begging or erase text and retype it. Kinda bad UX, I'd leave that for now ;)

from vis-ui.

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.