You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 8, 2020. It is now read-only.
My use case is to have two child h3 and h4 in a HorizontalLayout, showing a "Welcome" text justified to the left, "App Name" justified to the right. In hopes to achieve that, I have set h3 and h4 to wrap its contents and set the parent HorizontalLayout to "Between", hoping for the HorizontalLayout to add space between those two items, pushing them apart.
However, there is a third item: an invisible ::before which is also considered by the flex layout engine, and hence the flex layout engine distributes space between the ::before and h3.
Please see the screenshot attached. Could it be possible to remove the ::before from HorizontalLayout?
The text was updated successfully, but these errors were encountered:
mvysny
changed the title
HorizontalLayout and FlexComponent.JustifyContentMode.BETWEEN works weird
HorizontalLayout and FlexComponent.JustifyContentMode.BETWEEN yields unexpected results
Apr 20, 2018
My use case is to have two child
h3
andh4
in aHorizontalLayout
, showing a "Welcome" text justified to the left, "App Name" justified to the right. In hopes to achieve that, I have set h3 and h4 to wrap its contents and set the parentHorizontalLayout
to "Between", hoping for theHorizontalLayout
to add space between those two items, pushing them apart.However, there is a third item: an invisible
::before
which is also considered by the flex layout engine, and hence the flex layout engine distributes space between the::before
andh3
.Please see the screenshot attached. Could it be possible to remove the
::before
fromHorizontalLayout
?The text was updated successfully, but these errors were encountered: