Skip to content

WT-13574: Remove WTableView header left margin & padding#241

Open
m-seibt wants to merge 3 commits intoemweb:masterfrom
m-seibt:fix/wtableview_header
Open

WT-13574: Remove WTableView header left margin & padding#241
m-seibt wants to merge 3 commits intoemweb:masterfrom
m-seibt:fix/wtableview_header

Conversation

@m-seibt
Copy link

@m-seibt m-seibt commented Mar 11, 2026

  • Factor out WTableView::columnWidthWithPadding in order to use magic number in one place
  • WTableView header cells:
    • Remove 6px margin-left and reduce padding-left in order to align with content cells
    • Adapt JS function resizeColumn and WTableView::columnWidthWithPadding
  • Round WTableView::setColumnWidth argument width to pixels instead of to whole units
screenshots without sorting with sorting
before grafik grafik
after grafik grafik

Resolves https://redmine.emweb.be/issues/13574

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

Successfully merging this pull request may close these issues.

1 participant