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

Making columns in one row have the same height #57

Open
F43nd1r opened this issue May 24, 2018 · 2 comments
Open

Making columns in one row have the same height #57

F43nd1r opened this issue May 24, 2018 · 2 comments

Comments

@F43nd1r
Copy link

F43nd1r commented May 24, 2018

I have the following setup: I have two panels, which are displayed like this:

    ResponsiveLayout responsiveLayout = new ResponsiveLayout().withScrollable(true);
    ResponsiveRow row = responsiveLayout.addRow().withSpacing(ResponsiveRow.SpacingSize.SMALL, true).withMargin(ResponsiveRow.MarginSize.SMALL);
    row.addColumn().withComponent(panel1).withDisplayRules(12, 12, 6, 6);
    row.addColumn().withComponent(panel2).withDisplayRules(12, 12, 6, 6);

How can I make both panels have the same height (without knowing which one is bigger) if they are side by side, but not if they aren't?

@ghost
Copy link

ghost commented Feb 5, 2019

I am facing the same issue. Looks like a bug. Currently only this workaround came to my mind:

@F43nd1r
Copy link
Author

F43nd1r commented Feb 5, 2019

I've moved on from this to Vaadin flow, where responsive layouts are no problem anymore.

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

No branches or pull requests

1 participant