Skip to content

[WC-3517]: Set default max height to 250px for Image widget#2351

Open
r0b1n wants to merge 1 commit into
mainfrom
fix/wc-3517-image-default-max-height
Open

[WC-3517]: Set default max height to 250px for Image widget#2351
r0b1n wants to merge 1 commit into
mainfrom
fix/wc-3517-image-default-max-height

Conversation

@r0b1n

@r0b1n r0b1n commented Jul 22, 2026

Copy link
Copy Markdown
Collaborator

Pull request type

Bug fix (non-breaking change which fixes an issue)


Description

Currently the Image widget defaults to no maximum height (None). This change sets the default maxHeightUnit to pixels and maxHeight to 250 in the widget XML, so newly placed Image widgets come with a 250px maximum height out of the box.

Existing widgets are not affected — Mendix only applies XML default values when a widget is first added to a page, so previously placed widgets retain their current settings.

JIRA: WC-3517

What should be covered while testing?

  • Drag a new Image widget onto a page in Studio Pro and verify the Maximum Height unit is set to Pixels and Maximum height is 250 by default.
  • Open an existing Image widget (placed before this change) and verify its max height settings are unchanged.

New Image widgets now default to a 250px maximum height instead of None.
Existing widgets with the old default are not affected.

Closes WC-3517
@r0b1n
r0b1n requested a review from a team as a code owner July 22, 2026 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant