-
-
Notifications
You must be signed in to change notification settings - Fork 10
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
rowHeightPx is ignored #83
Comments
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 |
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: