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

a grid container #742

Merged
merged 1 commit into from
Sep 2, 2023
Merged

Conversation

mingsheng13
Copy link
Contributor

Hi, I've written a simple grid container using Horizontal and Vertical Containers. But I think this should be put into the container.cpp instead of a different library. Which one would you prefer? Thank you.

@ArthurSonzogni
Copy link
Owner

Thanks! I like you implementation! Sharing the same variable for the column/row was smart.

I always wanted to add it to FTXUI. I might want to do something a little bit more customized in order to have the column/row number be set by a variable, and support user to push new children.

@ArthurSonzogni ArthurSonzogni merged commit 0f1588e into ArthurSonzogni:main Sep 2, 2023
@mingsheng13
Copy link
Contributor Author

Glad you liked it! I was wondering how can I use external libraries like this one in FTXUI? How are you going to link it?

@ArthurSonzogni
Copy link
Owner

Glad you liked it! I was wondering how can I use external libraries like this one in FTXUI? How are you going to link it?

I puished some CMakeLists configuration to ip-input-ftxui and grid-container-ftxui and a README to document how to do it.

What do you think about them?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants