Skip to content
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

Change the tree indentation #132

Open
labs20 opened this issue Dec 13, 2022 · 1 comment
Open

Change the tree indentation #132

labs20 opened this issue Dec 13, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@labs20
Copy link

labs20 commented Dec 13, 2022

Hi, folks.

I'm in need to customize the size of the tree indentation, but, as it seems to be rendered directly on the style on the div "sg-table-body-cell sg-table-cell svelte-ffcwbe" I'm in trouble to change that by css class, because the style is applyied in steps of 3em.

Can you please help me pointing some workaround, or even better, by publishing this 3em as a prop in rows object?

Pretty please? =] =]

Thanks!

@labs20
Copy link
Author

labs20 commented Dec 13, 2022

Be able to choose to remove the icon from the indentation is a must too, as its easy to misread parent/child relashionship depending of the indentation amount because the icon puts the label of childless siblings at the same offset than its child.

Captura de Tela 2022-12-13 às 15 45 12

In the picture above, "Doacao" "Imoveis" and "Imoveis Locacao" are siblings, while "Galpao - SP" is "Imoveis Locacao" child. As you can see, looks like "Imoveis" and "Imoveis Locacao" are "Doacao" childs.

Thanks

@V-Py V-Py added the enhancement New feature or request label Dec 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants