Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

Shouldn't fxFlex value be independent of fxLayoutGap (with fxLayout="row") #235

@victornoel

Description

@victornoel

The problem I am trying to highlight is the relation between the fxLayoutGap and the fxFlex percentage used with fxLayout="row".
To me, the fxFlex value should a percentage of the available space minus the fxLayoutGap applied inbetween the elements.

So in the following screenshot for example, I would expect to have 2 lines of 4 squares (because 25% is a quarter of 100%):
image

https://plnkr.co/edit/W6N0q7mSjEjBKGyws3R4?p=preview

Metadata

Metadata

Assignees

Labels

P3Important issue that needs to be resolvedhas prA PR has been created to address this issue

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions