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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to set Custom magin to every child layout? #1

Closed
Premjit-Developer opened this issue Jun 10, 2022 · 2 comments
Closed

How to set Custom magin to every child layout? #1

Premjit-Developer opened this issue Jun 10, 2022 · 2 comments
Labels
question Further information is requested

Comments

@Premjit-Developer
Copy link

First of all congratulations to the dev for making this great easy to use TreeView library 馃憦.
Describe the solution you'd like
My feature request is about to get a set margin option in TreeNode by default for each child layout. As you did in example projects extended custom class with TreeNode, i also tried the same to set my custom margin method but it didn't work for me. So if you make a default margin option in TreeNode it will be easy for noob devs like me.

@AmrDeveloper
Copy link
Owner

Hello @Premjit-Chowdhury,

Very happy that you loved it, I think it will be better to keep the default TreeNode object small and simple and anyone can extend it easily, if we add a default attribute that handles the margin, we should also add some other attributes, so I will try to extend the examples with margin and other examples

Thanks
Amr Hesham

@Premjit-Developer
Copy link
Author

Yeah, it would be very helpful.

@AmrDeveloper AmrDeveloper added the question Further information is requested label Jun 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants