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

fix: Table Border Radius doesnt work #119

Open
ShalmonAnandas opened this issue Jan 17, 2025 · 0 comments
Open

fix: Table Border Radius doesnt work #119

ShalmonAnandas opened this issue Jan 17, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@ShalmonAnandas
Copy link

ShalmonAnandas commented Jan 17, 2025

Description

Border Radius doesn't work for table; this is a limitation of the TableBorder class, where borderRadius only works with TableBorder.all() and not with TableBorder() or TableBorder.symmetric()

Steps To Reproduce

  1. Add borderRadius to tableBorder in json
  2. borderRadius is not applied

Expected Behavior

Add support for tableBorder.all() constructor.

Additional Context

This can be done in 2 ways.

  1. Intrinsically where if dev passes borderRadius and nothing else then use TableBorder.all() constructor to render; if user passes other variables then ignore borderRadius altogether.
  2. Explicitly where dev can state if they want to use TableBorder or TableBorder.all(); this will also allow us to color, width and style properties which are supported by TableBorder.all()

If approach 2 is to be implemented, then support for TableBorder.symmetric() should also be added to round off the widget

@ShalmonAnandas ShalmonAnandas added the bug Something isn't working label Jan 17, 2025
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
None yet
Development

No branches or pull requests

1 participant