Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/width-height-units #9

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

Andries-Smit
Copy link

@Andries-Smit Andries-Smit commented Jun 7, 2017

  • Features Units: Auto, pixels percentage. Behaves the same as for the normal core image widget.
  • Fixed widget render normally when no context is provided.

Remove maintaining aspect ratio code. (code was not/never functional)

The width and height were directly set onto the this.domNode by some unknown feature of Dojo or Mendix. Needed to create own rendering and deleting the attribute this.width and this.height to fix it to support percentage units.

@JelteMX JelteMX self-assigned this Jun 7, 2017
@Andries-Smit
Copy link
Author

Not happy with the fire resize event, though it fixes the height issue... it has to many side affects...
Any suggestions?

It's not ready for merging.

@Andries-Smit
Copy link
Author

Fixed it with setting the relative size after loading and removed the refresh event

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants