Skip to content

change * in layout manager#70

Closed
JasminKroeger wants to merge 2 commits into
apache:masterfrom
JasminKroeger:changeLayout
Closed

change * in layout manager#70
JasminKroeger wants to merge 2 commits into
apache:masterfrom
JasminKroeger:changeLayout

Conversation

@JasminKroeger

Copy link
Copy Markdown
  • change * for example to 1fr

@henningn henningn self-requested a review April 17, 2020 07:45
@henningn henningn self-assigned this Apr 17, 2020

@henningn henningn left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@henningn henningn left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 '*'.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 '*'.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 '*'.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 '*'.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 '*'.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

replace unit '*' with 'fr'

public class SplitLayoutController implements Serializable {

private String horizontalLayout = "1*;1*";
private String horizontalLayout = "1fr;1fr";

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make is space separated

@JasminKroeger JasminKroeger force-pushed the changeLayout branch 2 times, most recently from 17255d2 to 4c170ad Compare April 20, 2020 09:43
@henningn henningn self-requested a review April 21, 2020 07:44
* 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.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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'

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'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'

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'fr' without a number

* 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.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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'

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'fr' without a number

* 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.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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'

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'fr' without a number

* It is a semicolon separated list of layout tokens '&lt;n&gt;fr', '&lt;measure&gt;' or the keyword 'auto'.
* Where &lt;n&gt; is a positive integer or empty and &lt;measure&gt; is a valid CSS length.
* Example: '2*;*;100px;3rem;auto'.
* Example: '2fr fr 100px 3rem auto'.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'fr' without a number

* It is a space separated list of layout tokens '&lt;n&gt;fr', '&lt;measure&gt;' or the keyword 'auto'.
* Where &lt;n&gt; is a positive integer or empty and &lt;measure&gt; is a valid CSS length.
* Example: '2*;*;100px;3rem;auto'.
* Example: '2fr fr 100px 3rem auto'.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'fr' without a number

@JasminKroeger JasminKroeger force-pushed the changeLayout branch 2 times, most recently from f244e36 to ac79c08 Compare April 21, 2020 19:21
@henningn henningn self-requested a review April 22, 2020 12:54
/**
* This value defines the layout constraints for column layout.
* It is a semicolon separated list of layout tokens '&lt;n&gt;*', '&lt;measure&gt;' or the keyword 'auto'.
* It is a semicolon separated list of layout tokens '&lt;n&gt;1fr', '&lt;measure&gt;' or the keyword 'auto'.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wrong unit

/**
* This value defines the layout constraints for row layout.
* It is a semicolon separated list of layout tokens '&lt;n&gt;*', '&lt;measure&gt;' or the keyword 'auto'.
* It is a semicolon separated list of layout tokens '&lt;n&gt;1fr', '&lt;measure&gt;' or the keyword 'auto'.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wrong unit

* This value defines the layout constraints for column layout.
* It is a semicolon separated list of layout tokens '&lt;n&gt;*', '&lt;measure&gt;' or the keyword 'auto'.
* It is a semicolon separated list of layout tokens '&lt;n&gt;1fr', '&lt;measure&gt;' or the keyword 'auto'.
* Where &lt;n&gt; is a positive integer or empty and &lt;measure&gt; is a valid CSS length.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

must be a positive integer

* This value defines the layout constraints for row layout.
* It is a semicolon separated list of layout tokens '&lt;n&gt;*', '&lt;measure&gt;' or the keyword 'auto'.
* It is a semicolon separated list of layout tokens '&lt;n&gt;1fr', '&lt;measure&gt;' or the keyword 'auto'.
* Where &lt;n&gt; is a positive integer or empty and &lt;measure&gt; is a valid CSS length.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

must be a positive integer

* This value defines the layout constraints for column layout.
* It is a semicolon separated list of layout tokens '&lt;n&gt;*', '&lt;measure&gt;' or the keyword 'auto'.
* It is a space separated list of layout tokens '&lt;n&gt;fr', '&lt;measure&gt;' or the keyword 'auto'.
* Where &lt;n&gt; is a positive integer or empty and &lt;measure&gt; is a valid CSS length.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

must be a positive integer

* This value defines the layout constraints for row layout.
* It is a semicolon separated list of layout tokens '&lt;n&gt;*', '&lt;measure&gt;' or the keyword 'auto'.
* It is a space separated list of layout tokens '&lt;n&gt;fr', '&lt;measure&gt;' or the keyword 'auto'.
* Where &lt;n&gt; is a positive integer or empty and &lt;measure&gt; is a valid CSS length.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

must be a positive integer

Jasmin Kroeger added 2 commits April 22, 2020 16:57
@henningn

henningn commented May 7, 2020

Copy link
Copy Markdown
Contributor

Commited with some changes. See: 50e075d

@henningn henningn closed this May 7, 2020
@JasminKroeger JasminKroeger deleted the changeLayout branch May 8, 2020 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants