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

[Analytical tab;e]: TextAlign issue in Tree table columns due to extra spacer element #6368

Closed
1 task done
kmanisha29 opened this issue Sep 16, 2024 · 1 comment
Closed
1 task done
Labels
bug Something isn't working

Comments

@kmanisha29
Copy link

Describe the bug

An extra space is getting added to all columns in tree table and it is an element due to which text is not getting aligned from beigining ( TextAlign.Begin). It looks like centrally aligned even horizontally.
This extra space is due to extra element being added to each column of tree table:

This makes the column text look central aligned for normal cells also like 2nd or 3rd coumneven if we try to use TextAlign.Begin . Any textAlign value does not align it from left.

Isolated Example

https://stackblitz.com/edit/github-3wiuce-kjl4sq?file=src%2FApp.tsx,src%2FTreeCell.tsx,src%2FuseData.ts

Reproduction steps

  1. Create a tree table with hierarchy
  2. Have 2nd and 3rd column as normal text cells
  3. Try to align then from start or left
    ...

Expected Behaviour

No response

Screenshots or Videos

No response

UI5 Web Components for React Version

1.26.0

UI5 Web Components Version

1.23.0

Browser

Chrome

Operating System

No response

Additional Context

No response

Relevant log output

No response

Organization

SAP

Declaration

  • I’m not disclosing any internal or sensitive information.
@kmanisha29 kmanisha29 added the bug Something isn't working label Sep 16, 2024
@Lukas742
Copy link
Contributor

Lukas742 commented Sep 17, 2024

Hi @kmanisha29

this was fixed in a later version (probably in v1.28.1).

https://stackblitz.com/edit/github-3wiuce-aymyg7?file=src%2FApp.tsx,src%2FTreeCell.tsx,package.json (latest version)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: 🆕 New
Development

No branches or pull requests

2 participants