-
-
Notifications
You must be signed in to change notification settings - Fork 125
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
MFXPaginatedTableView show additional space aftear last column #257
Comments
Hello @stefanofornari! Now as for the issue, the thing is that that is the intended behavior. Every column auto-sizes itself so that all the content within that column is fully visible. It is also true though that that extra space should be used rather than stay like that. I'll keep this in mind, and improve the functionality in the new table. In the meantime, I think you could arrange a solution by extending In a very rough pseudocode:
I hope I did the math correctly, it should work |
Hi, I need also to write a couple of filters (one for timestamps and one for BigDecimals). I can contribute them back if you are interested. Shall I do it on MaterialFX repository or else? |
Using fixed width is also a solution, you have to calculate them and adjust if needed though Yes that would be great, thanks 👍🏻 |
Describe the bug
FXML
In the controller I am addign the columns as:
When I show the table, which should resize all columns, not all space is used:
MRE(Minimal Reproducible Example)
It is noticeable in the demo application as well.
To Reproduce
Run the demo application and see the Tables section
Expected behavior
Columns are sized to expand to the available space
Screenshots
The text was updated successfully, but these errors were encountered: