change * in layout manager#70
Conversation
JasminKroeger
commented
Apr 15, 2020
- change * for example to 1fr
henningn
left a comment
There was a problem hiding this comment.
There are still a view descriptions that contain a '*' instead of 'fr':
- SegmentLayoutTagDeclaration
- GridLayoutTagDeclaration (see line 47)
- Flex_Layout.xhtml
- Split_Layout.xhtml
Maybe you can improve those too.
4cecc34 to
9b11477
Compare
henningn
left a comment
There was a problem hiding this comment.
I've overlooked that there are descriptions where the tokens are semicolon separated. But they are space separated now.
You can find these descriptions in:
- FlexLayoutTagDeclaration
- GridLayoutTagDeclaration (line 43)
- SplitLayoutTagDeclaration
- Flex_Layout.xhtml
| @@ -57,7 +57,7 @@ public interface SegmentLayoutTagDeclaration extends HasIdBindingAndRendered, Is | |||
| /** | |||
| * The space-separated definition of the columns for extra small devices. | |||
| * Possible values are: segment values between 1 and 12, 'auto' and '*'. | |||
There was a problem hiding this comment.
replace unit '*' with 'fr'
| @@ -66,7 +66,7 @@ public interface SegmentLayoutTagDeclaration extends HasIdBindingAndRendered, Is | |||
| /** | |||
| * The space-separated definition of the columns for small devices. | |||
| * Possible values are: segment values between 1 and 12, 'auto' and '*'. | |||
There was a problem hiding this comment.
replace unit '*' with 'fr'
| @@ -75,7 +75,7 @@ public interface SegmentLayoutTagDeclaration extends HasIdBindingAndRendered, Is | |||
| /** | |||
| * The space-separated definition of the columns for medium devices. | |||
| * Possible values are: segment values between 1 and 12, 'auto' and '*'. | |||
There was a problem hiding this comment.
replace unit '*' with 'fr'
| @@ -84,7 +84,7 @@ public interface SegmentLayoutTagDeclaration extends HasIdBindingAndRendered, Is | |||
| /** | |||
| * The space-separated definition of the columns for large devices. | |||
| * Possible values are: segment values between 1 and 12, 'auto' and '*'. | |||
There was a problem hiding this comment.
replace unit '*' with 'fr'
| @@ -93,7 +93,7 @@ public interface SegmentLayoutTagDeclaration extends HasIdBindingAndRendered, Is | |||
| /** | |||
| * The space-separated definition of the columns for extra large devices. | |||
| * Possible values are: segment values between 1 and 12, 'auto' and '*'. | |||
There was a problem hiding this comment.
replace unit '*' with 'fr'
| public class SplitLayoutController implements Serializable { | ||
|
|
||
| private String horizontalLayout = "1*;1*"; | ||
| private String horizontalLayout = "1fr;1fr"; |
17255d2 to
4c170ad
Compare
| * The space-separated definition of the columns for extra small devices. | ||
| * Possible values are: segment values between 1 and 12, 'auto' and '*'. | ||
| * Example: '1seg 5seg * auto' | ||
| * Possible values are: [1-12]seg, 'auto' and <n>fr. |
There was a problem hiding this comment.
In JavaDoc you can write HTML. Therefore HTML brackets have to be escaped.
| * The space-separated definition of the columns for small devices. | ||
| * Possible values are: segment values between 1 and 12, 'auto' and '*'. | ||
| * Example: '1seg 5seg * auto' | ||
| * Possible values are: [1-12]seg, 'auto' and <n>fr. |
There was a problem hiding this comment.
In JavaDoc you can write HTML. Therefore HTML brackets have to be escaped.
| * Possible values are: segment values between 1 and 12, 'auto' and '*'. | ||
| * Example: '1seg 5seg * auto' | ||
| * Possible values are: [1-12]seg, 'auto' and <n>fr. | ||
| * Example: '1seg 5seg fr auto' |
There was a problem hiding this comment.
'fr' is without a number.
| * Possible values are: segment values between 1 and 12, 'auto' and '*'. | ||
| * Example: '1seg 5seg * auto' | ||
| * Possible values are: [1-12]seg, 'auto' and <n>fr. | ||
| * Example: '1seg 5seg fr auto' |
| * The space-separated definition of the columns for medium devices. | ||
| * Possible values are: segment values between 1 and 12, 'auto' and '*'. | ||
| * Example: '1seg 5seg * auto' | ||
| * Possible values are: [1-12]seg, 'auto' and <n>fr. |
There was a problem hiding this comment.
In JavaDoc you can write HTML. Therefore HTML brackets have to be escaped.
| * Possible values are: segment values between 1 and 12, 'auto' and '*'. | ||
| * Example: '1seg 5seg * auto' | ||
| * Possible values are: [1-12]seg, 'auto' and <n>fr. | ||
| * Example: '1seg 5seg fr auto' |
| * The space-separated definition of the columns for extra large devices. | ||
| * Possible values are: segment values between 1 and 12, 'auto' and '*'. | ||
| * Example: '1seg 5seg * auto' | ||
| * Possible values are: [1-12]seg, 'auto' and <n>fr. |
There was a problem hiding this comment.
In JavaDoc you can write HTML. Therefore HTML brackets have to be escaped.
| * Possible values are: segment values between 1 and 12, 'auto' and '*'. | ||
| * Example: '1seg 5seg * auto' | ||
| * Possible values are: [1-12]seg, 'auto' and <n>fr. | ||
| * Example: '1seg 5seg fr auto' |
| * It is a semicolon separated list of layout tokens '<n>fr', '<measure>' or the keyword 'auto'. | ||
| * Where <n> is a positive integer or empty and <measure> is a valid CSS length. | ||
| * Example: '2*;*;100px;3rem;auto'. | ||
| * Example: '2fr fr 100px 3rem auto'. |
| * It is a space separated list of layout tokens '<n>fr', '<measure>' or the keyword 'auto'. | ||
| * Where <n> is a positive integer or empty and <measure> is a valid CSS length. | ||
| * Example: '2*;*;100px;3rem;auto'. | ||
| * Example: '2fr fr 100px 3rem auto'. |
f244e36 to
ac79c08
Compare
| /** | ||
| * This value defines the layout constraints for column layout. | ||
| * It is a semicolon separated list of layout tokens '<n>*', '<measure>' or the keyword 'auto'. | ||
| * It is a semicolon separated list of layout tokens '<n>1fr', '<measure>' or the keyword 'auto'. |
| /** | ||
| * This value defines the layout constraints for row layout. | ||
| * It is a semicolon separated list of layout tokens '<n>*', '<measure>' or the keyword 'auto'. | ||
| * It is a semicolon separated list of layout tokens '<n>1fr', '<measure>' or the keyword 'auto'. |
| * This value defines the layout constraints for column layout. | ||
| * It is a semicolon separated list of layout tokens '<n>*', '<measure>' or the keyword 'auto'. | ||
| * It is a semicolon separated list of layout tokens '<n>1fr', '<measure>' or the keyword 'auto'. | ||
| * Where <n> is a positive integer or empty and <measure> is a valid CSS length. |
There was a problem hiding this comment.
must be a positive integer
| * This value defines the layout constraints for row layout. | ||
| * It is a semicolon separated list of layout tokens '<n>*', '<measure>' or the keyword 'auto'. | ||
| * It is a semicolon separated list of layout tokens '<n>1fr', '<measure>' or the keyword 'auto'. | ||
| * Where <n> is a positive integer or empty and <measure> is a valid CSS length. |
There was a problem hiding this comment.
must be a positive integer
| * This value defines the layout constraints for column layout. | ||
| * It is a semicolon separated list of layout tokens '<n>*', '<measure>' or the keyword 'auto'. | ||
| * It is a space separated list of layout tokens '<n>fr', '<measure>' or the keyword 'auto'. | ||
| * Where <n> is a positive integer or empty and <measure> is a valid CSS length. |
There was a problem hiding this comment.
must be a positive integer
| * This value defines the layout constraints for row layout. | ||
| * It is a semicolon separated list of layout tokens '<n>*', '<measure>' or the keyword 'auto'. | ||
| * It is a space separated list of layout tokens '<n>fr', '<measure>' or the keyword 'auto'. | ||
| * Where <n> is a positive integer or empty and <measure> is a valid CSS length. |
There was a problem hiding this comment.
must be a positive integer
* change * for example to 1fr
ac79c08 to
5f9160f
Compare
|
Commited with some changes. See: 50e075d |