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

TableCell component doesn't expose horizontalAlign property #174

Closed
1 of 4 tasks
steffenlutter-sap opened this issue Jan 3, 2025 · 2 comments
Closed
1 of 4 tasks

Comments

@steffenlutter-sap
Copy link

steffenlutter-sap commented Jan 3, 2025

Bug Description

The web component TableCell has a new property horizontalAlign since version 2.4.0, however, it seems that it is not exposed through the Angular wrappers. VSCode doesn't know the property and if I add it anyway (I tried horizontalAlign="Center" and horizontal-align="Center", it has no effect.

Original discussion thread: https://openui5.slack.com/archives/CFH4M5VH9/p1735813405803039

Expected Behavior

I would expect that VSCode knows and auto-completes the property as all the other and that the cell content is centers if I chose the respective value.

Steps to Reproduce

Isolated Example

Define a cell within a table like this:

<ui5-table-cell horizontalAlign="Center">
   ... cell content ...
</ui5-table-cell>

Context

  • UI5 Web Components version: 2.4.0
  • UI5 Web Components for Angular version: 0.3.1
  • Angular Version: 18
  • OS/Platform: Windows
  • Browser: Edge/Chrome
  • Affected component: TableCell

Log Output / Stack Trace / Screenshots

Buttons should be centered but aren't:
Image

Priority

  • Low
  • Medium
  • High
  • Very High

Stakeholder Info (if applicable)

  • Organization: SAP Build Process Automation
  • Business impact: {...}
@nnaydenow
Copy link

nnaydenow commented Jan 29, 2025

Hi @steffenlutter-sap,

Property seems to be added in version 0.4.0 (in this version the used ui5/webcomponents packages are updated to 2.6.0). Could you please check?

@stfnlutter
Copy link

Hello @nnaydenow, the issue is resolved, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants