openui5 icon indicating copy to clipboard operation
openui5 copied to clipboard

Inverted sap.m.ObjectStatus with icon is misaligned in a sap.m.Table cell using Horizon theme with compact density

Open gbrfarkas opened this issue 4 years ago • 5 comments

OpenUI5 version: 1.108.0

Browser/version (+device/version): Chrome 106.0.5249.121 (Official Build) (64-bit)

Any other tested browsers/devices(OK/FAIL): -

URL (minimal example if possible): https://jsfiddle.net/dgm3etrL/19/

Steps to reproduce the problem: Add a sap.m.ObjectStatus with an icon, with the inverted property set to true in a cell of a sap.m.Table, using the Horizon theme and compact content density (class sapUiSizeCompact).

What is the expected result? The sap.m.ObjectStatus is displayed properly as expected.

What happens instead? The icon is misaligned from the text.

Screenshot: image

gbrfarkas avatar Nov 04 '22 23:11 gbrfarkas

Hello @gbrfarkas, Thank you for sharing this finding. I've created an internal incident 2270183264. The status of the issue will be updated here in GitHub.

50gY avatar Nov 11 '22 12:11 50gY

Hello,

I've fixed the issue.

It will be patched in 1.110.0. It will release around the end of January 2023.

Best regards, @Lyserg-Diethel

Lyserg-Diethel avatar Nov 29 '22 15:11 Lyserg-Diethel

Fixed with 94d32693e5fa3cd120b6d6b4d5aa3bdfaa537611

flovogt avatar Nov 29 '22 16:11 flovogt

Now the cozy mode has the issue.

  1. In the JSFiddle sample, bootstrap UI5 with nightly (https://sdk.openui5.org/nightly/resources/sap-ui-core.js).
  2. Remove sapUiSizeCompact from the body's class list.
  3. Run the preview. ObjectStatus in cozy after commit 94d3269

boghyon avatar Nov 30 '22 12:11 boghyon

Implemented a fix.

Lyserg-Diethel avatar Dec 06 '22 06:12 Lyserg-Diethel