Skip to content
This repository has been archived by the owner on Mar 31, 2022. It is now read-only.

Wrong constant name in Image metadata annotations #647

Closed
alexbudarov opened this issue Sep 2, 2021 · 0 comments
Closed

Wrong constant name in Image metadata annotations #647

alexbudarov opened this issue Sep 2, 2021 · 0 comments
Assignees
Labels
type: bug Something isn't working
Milestone

Comments

@alexbudarov
Copy link
Contributor

alexbudarov commented Sep 2, 2021

Jmix version: 1.0.0.

io.jmix.ui.component.Image#setScaleMode

    @StudioProperty(type = PropertyType.ENUMERATION, defaultValue = "NONE",
            options = {"NONE", "FILL", "CONTAIN", "COVER", "SCALE_MODE"})
    void setScaleMode(ScaleMode scaleMode);

Should be SCALE_DOWN, not SCALE_MODE.

QA

In the "Component Inspector" check that scaleMode attribute contains SCALE_DOWN instead of SCALE_MODE.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants