Highlighted

Equally extednding text height in state buttons.

New Here ,
Aug 11, 2018

Copy link to clipboard

Copied

Hey,


I have a problem with text columns in state buttons and text columns in general.  I would like to make them expand equally even though there is different amount of text.

I Any ideas how can I do that ?

Thanks in advance

Zuzanna

Przechwytywanie ab.PNG

If you place elements  onto/into a rectangle, the rectangle expands synchronously with the height of the elements within. This is common and expected behaviour.

  • To achieve, what you want, you have to make sure, that the text boxes don’t expand vertically differently.
  • A text box expands, when the text within doesn’t find enough room to be displayed.
  • A text box doesn’t expand, when the text within finds enough room to be displayed.
  • So, the solution is this:

Of course this behaviour has unavoidable limits. If the amount of text is too different, you have to think about adding breakpoints.

(… and please, please don‘t use justified text in the web! Since hyphenation isn‘t widely supported by browsers, this looks terrible!)

Views

168

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Equally extednding text height in state buttons.

New Here ,
Aug 11, 2018

Copy link to clipboard

Copied

Hey,


I have a problem with text columns in state buttons and text columns in general.  I would like to make them expand equally even though there is different amount of text.

I Any ideas how can I do that ?

Thanks in advance

Zuzanna

Przechwytywanie ab.PNG

If you place elements  onto/into a rectangle, the rectangle expands synchronously with the height of the elements within. This is common and expected behaviour.

  • To achieve, what you want, you have to make sure, that the text boxes don’t expand vertically differently.
  • A text box expands, when the text within doesn’t find enough room to be displayed.
  • A text box doesn’t expand, when the text within finds enough room to be displayed.
  • So, the solution is this:

Of course this behaviour has unavoidable limits. If the amount of text is too different, you have to think about adding breakpoints.

(… and please, please don‘t use justified text in the web! Since hyphenation isn‘t widely supported by browsers, this looks terrible!)

Views

169

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Aug 11, 2018 0
LEGEND ,
Aug 11, 2018

Copy link to clipboard

Copied

If you place elements  onto/into a rectangle, the rectangle expands synchronously with the height of the elements within. This is common and expected behaviour.

  • To achieve, what you want, you have to make sure, that the text boxes don’t expand vertically differently.
  • A text box expands, when the text within doesn’t find enough room to be displayed.
  • A text box doesn’t expand, when the text within finds enough room to be displayed.
  • So, the solution is this:

Of course this behaviour has unavoidable limits. If the amount of text is too different, you have to think about adding breakpoints.

(… and please, please don‘t use justified text in the web! Since hyphenation isn‘t widely supported by browsers, this looks terrible!)

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 11, 2018 2
New Here ,
Aug 12, 2018

Copy link to clipboard

Copied

Thanks a lot.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 12, 2018 0