Skip to content

Allow <Image /> control to clip to its bounds - #2123

Merged
carldebilly merged 16 commits into
masterfrom
dev/cdb/bugs/image-clipping-fix
Nov 22, 2019
Merged

carldebilly merged 16 commits into
masterfrom
dev/cdb/bugs/image-clipping-fix

Conversation

@carldebilly

@carldebilly carldebilly commented Nov 19, 2019 •

Copy link
Copy Markdown
Member

GitHub Issue (If applicable): Fixes #2122, Fixes #2122, Fixes #1985, Fixes #2072

Bugfix

What is the current behavior?

<Image /> controls were never clipping images to their bounds.

What is the new behavior?

The normal behavior of the layouting will apply as on other controls.

PR Checklist

Please check if your PR fulfills the following requirements:

@carldebilly carldebilly added the kind/regression Something was working, now it isn't label Nov 19, 2019
@carldebilly carldebilly self-assigned this Nov 19, 2019
@gitpod-io

gitpod-io Bot commented Nov 19, 2019 •

Copy link
Copy Markdown

@carldebilly carldebilly added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Nov 19, 2019
@github-actions github-actions Bot added area/automation Categorizes an issue or PR as relevant to project automation platform/wasm 🌐 Categorizes an issue or PR as relevant to the WebAssembly platform labels Nov 20, 2019
@carldebilly
carldebilly force-pushed the dev/cdb/bugs/image-clipping-fix branch from ce97dc8 to dbe133f Compare November 21, 2019 21:12
@github-actions github-actions Bot added platform/android 🤖 Categorizes an issue or PR as relevant to the Android platform platform/ios 🍎 Categorizes an issue or PR as relevant to the iOS platform labels Nov 21, 2019
@carldebilly carldebilly removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Nov 21, 2019
Comment thread src/Uno.Foundation/Rect.cs Resolved
@jeromelaban

jeromelaban commented Nov 22, 2019 •

Copy link
Copy Markdown
Member

image

is incorrect

Should look like
image

@carldebilly
carldebilly merged commit 697f8e1 into master Nov 22, 2019
@carldebilly
carldebilly deleted the dev/cdb/bugs/image-clipping-fix branch November 22, 2019 05:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/automation Categorizes an issue or PR as relevant to project automation kind/regression Something was working, now it isn't platform/android 🤖 Categorizes an issue or PR as relevant to the Android platform platform/ios 🍎 Categorizes an issue or PR as relevant to the iOS platform platform/wasm 🌐 Categorizes an issue or PR as relevant to the WebAssembly platform

Projects

None yet

4 participants