Coder Social home page Coder Social logo

qooxdoo / qxl.dialog Goto Github PK

View Code? Open in Web Editor NEW
5.0 11.0 4.0 58.53 MB

A qooxdoo package providing dialog widgets

Home Page: https://qooxdoo.org/qxl.dialog/

JavaScript 100.00%
qooxdoo-package qooxdoo widget-library form-wizard form-wi alert-widget progress-bar login-widget prompt-widget javascript

qxl.dialog's Introduction

NPM Version Gitter

Qooxdoo JavaScript Framework

qooxdoo is a universal JavaScript framework that enables you to create applications for a wide range of platforms. With its object-oriented programming model you build rich, interactive applications (RIAs), native-like apps for mobile devices, light-weight traditional web applications or even applications to run outside the browser.

You leverage its integrated tool chain to develop and deploy applications of any scale, while taking advantage of modern web technologies like HTML5 and CSS3, its comprehensive feature set and a state-of-the-art GUI toolkit. qooxdoo is open source under liberal licenses, led by a dedicated developer team, with a vibrant community.

For more information please see http://qooxdoo.org .

License

qooxdoo may be used under the terms of the MIT License.

Quick start

It is easy to get started with qooxdoo. For detailed information please see our Get Started Guide.

Documentation

API Ref

Development

If you develop with qooxdoo, you would normally use a stable NPM release, which, since v6.0.0, contains the compiler and the CLI called with with npx qx <command>.

In contrast, if you want to be hacking qooxdoo itself, please refer to our documentation.

Contributing

There are many ways you can contribute to qooxdoo, ranging from providing feedback, making translations, providing a custom library to full-blown patches to the code. Please check our web site for details. Mind that for every patch to the repository we require an open bug in our issue tracker, and that commits to the repository will fall under qooxdoo's license terms.

Qooxdoo source code is hosted on github/qooxdoo and we use the standard Issue Tracker and Pull Requests feature.

Community

Online chat is available via Gitter at https://gitter.im/qooxdoo/qooxdoo (or using one of the Gitter desktop or mobile clients) - the core team hang out there, as do other developers who use Qooxdoo.

Learn more

qxl.dialog's People

Contributors

6r1d avatar cboulanger avatar dependabot[bot] avatar derrell avatar franck34 avatar goldim avatar hkollmann avatar jonimnim avatar omrihar avatar peuter avatar voger avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

qxl.dialog's Issues

Loading dialog

I think there would be nice to have another dialog which shows infinite loading process like this:

изображение

Crash if Form is cancelled than re-entered

This may apply only to the demo program. It looks like something isn't cleaned up properly.

To reproduce:

  • In the demo program (npx qx server and browse to localhost:8080), click on Form.
  • Click on Cancel
  • Click on Form again.

In the browser console, the crash shows up:

MObjectId.js:240 Uncaught Error: Cannot register an object with ID 'dialog' because that ID is already in use, this=qx.ui.form.Button[81-0], obj=qxl.dialog.Form[522-0]
    at wrapper.qx.core.Object.prototype.addOwnedQxObject() [as addOwnedQxObject] (MObjectId.js:240)
    at wrapper.qxl.dialog.demo.Application.prototype.createForm() [as createForm] (Application.js:349)
    at wrapper.<anonymous> (Application.js:160)
    at Direct.js:136
    at Function.qx.event.Utils.then() [as then] (Utils.js:143)
    at Direct.js:135
    at Array.qx.lang.normalize.Array.forEach() [as forEach] (Array.js:127)
    at wrapper.qx.event.dispatch.Direct.prototype.dispatchEvent() (Direct.js:120)
    at wrapper.wrappedFunction [as dispatchEvent] (Interface.js:537)
    at wrapper.qx.event.Manager.prototype.dispatchEvent() [as dispatchEvent] (Manager.js:975)
    at Registration.js:346
    at Function.qx.event.Utils.then() [as then] (Utils.js:143)
    at Object.qx.event.Registration.fireEvent() [as fireEvent] (Registration.js:345)
    at wrapper.qx.core.Object.prototype.fireEvent() [as fireEvent] (MEvent.js:182)
    at wrapper.qx.ui.control.DateChooser.prototype.execute() (MExecutable.js:117)
    at wrapper.wrappedFunction [as execute] (Interface.js:537)

Form does not respect Label Column Width

Setting property labelColumnWidth does not take effect. The reason is that only the maxWidth is set, not width, in this code in Form.js:453:

      let view = new qxl.dialog.FormRenderer(this._form);
      view.getLayout().setColumnFlex(0, 0);
      view.getLayout().setColumnMaxWidth(0, this.getLabelColumnWidth());

An additional line is needed:

      view.getLayout().setColumnWidth(0, this.getLabelColumnWidth());

which I have verified, not by changing this code here, but with a kludge in the application:

      form._formContainer.getChildren()[0]
        .getLayout()
        .setColumnWidth(0, form.getLabelColumnWidth());

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.