You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The option "rowHeightPx" is ignored. It seems, that ROW_HEIGHT in the source code is always a constant and not changeable from 22px. (export const ROW_HEIGHT = 22 in common.ts)
To Reproduce
Steps to reproduce the behavior: const tree = new Wunderbaum({ element: this.treeElement.nativeElement, source: [{title: "Test"}], rowHeightPx: 40 }); Expected behavior
Row height is adjustable (for usability reasons).
Thank you for checking!
The text was updated successfully, but these errors were encountered:
Hello, to add to this: Would it also be possible to make the row height dynamic, e.g. depending on the row content?
Many thanks!
This would be way more complicated, since then we cannot define simple CSS rules for rows or calculate viewport sizes by simple multiplication. This should be discussed in a separate thread.
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs.
Thank you for your contributions.
Describe the bug
The option "rowHeightPx" is ignored. It seems, that ROW_HEIGHT in the source code is always a constant and not changeable from 22px. (export const ROW_HEIGHT = 22 in common.ts)
To Reproduce
Steps to reproduce the behavior:
const tree = new Wunderbaum({ element: this.treeElement.nativeElement, source: [{title: "Test"}], rowHeightPx: 40 });
Expected behavior
Row height is adjustable (for usability reasons).
Thank you for checking!
The text was updated successfully, but these errors were encountered: