Skip to content

Making columns in one row have the same height #57

@F43nd1r

Description

@F43nd1r

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions