Project

General

Profile

Actions

Bug #14377

open

WTableView::setColumnWidth does not update fixed column

Added by Michael Seibt 18 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
03/04/2026
Due date:
% Done:

0%

Estimated time:

Description

Affected: Wt 4.12.5 (and former versions, checked down to 4.11.4)

WTableView with fixed first column, i.e. setRowHeaderCount(1).
setColumnWidth updates the header cell only but not the data cells.
Then a manual resize of the first columns causes a gap after the fixed first column.

Workaround: setColumnWidth for a not fixed column updates the whole fixed first column.

Until 4.12.2, even a scheduled setColumnWidth(0, w) reproduced the bug.
Since 4.12.3, only pushing the button "Set C0 width" might reproduce this bug depending on the window size. Though, the WTableView has double scrollbars and the first column is scrolled weirdly (refer to Bug #14066: WTableView: Fixed first column is not scrolled if no header row since 4.12.2).


Files

main.cpp (7.16 KB) main.cpp Michael Seibt, 03/04/2026 11:19 AM
2026-03-04_Firefox.png (34.4 KB) 2026-03-04_Firefox.png Michael Seibt, 03/04/2026 11:47 AM

No data to display

Actions

Also available in: Atom PDF