evrencoskun / TableView

TableView is a powerful Android library for displaying complex data structures and rendering tabular data composed of rows, columns and cells.
MIT License
3.14k stars 457 forks source link

setColumnWidth function is buggy when implemented in dialog fragment #402

Open eldon922 opened 2 years ago

eldon922 commented 2 years ago

Describe the bug the width of the header is correct, but the cell width is wrong. it's only half of the width and we can scroll the cell.

To Reproduce Steps to reproduce the behavior:

  1. implement tableview in dialog fragment
  2. use setColumnWidth to set the column width to each column differently

Expected behavior the cell width same as the header width

Screenshots

https://user-images.githubusercontent.com/19554521/163337101-337957d3-a1a2-486e-a327-23eceaca0b55.mp4

Tools: