RolePlay onLine RPoL Logo

, welcome to Technical Discussions

17:36, 28th March 2024 (GMT+0)

Line breaks within cells.

Posted by Chernobyl
Chernobyl
supporter, 151 posts
Area of desolate waste,
Mutation Central.
Fri 23 Apr 2021
at 02:08
  • msg #1

Line breaks within cells

Hey all,

Looking to redesign my 5e character sheet and one problem I have is with blocks of text taking up the whole width of the screen.

ie:


FEATURES AND TRAITS
NAMEACTION/RECHARGENotes
Hexblade's Curse(Bonus Action—1/Short Rest)Choose one creature you can see within 30ft. The target is cursed for 1 minute. Until the curse ends, you gain /the following benefits: You gain a +2 bonus to damage rolls against the cursed target and any attack roll you make against the cursed target is acritical hit on a roll of 19 or 20 on the d20. If the cursed target dies, you regain 4 hp.
 


Hmm, after looking at this I noticed that it's ok here. When the character sheet was fixed width thats what causes the issue, with a variable width, there is no issue.

So I guess my query is: How do you get this effect using a fixed width character sheet option?
Chernobyl
supporter, 152 posts
Area of desolate waste,
Mutation Central.
Fri 23 Apr 2021
at 02:39
  • msg #2

Line breaks within cells

In addition to the previous request, I noticed that if I added a second row things start getting really messed up. Instead of heading below, it adds more columns. Any thoughts?


FEATURES AND TRAITS
NAMEACTION/RECHARGENotes
Hexblade's Curse(Bonus Action—1/Short Rest)Choose one creature you can see within 30ft. The target is cursed for 1 minute. Until the curse ends, you gain /the following benefits: You gain a +2 bonus to damage rolls against the cursed target and any attack roll you make against the cursed target is acritical hit on a roll of 19 or 20 on the d20. If the cursed target dies, you regain 4 hp.
 
Hexblade's Curse(Bonus Action—1/Short Rest)Choose one creature you can see within 30ft. The target is cursed for 1 minute. Until the curse ends, you gain /the following benefits: You gain a +2 bonus to damage rolls against the cursed target and any attack roll you make against the cursed target is acritical hit on a roll of 19 or 20 on the d20. If the cursed target dies, you regain 4 hp.
 

drew0500
member, 206 posts
D&D Gamer
Eclipse Classless
Thu 27 May 2021
at 06:06
  • msg #3

Re: Line breaks within cells

What exactly are you trying to accomplish?

Compare these two and go with what you want. But 1.5 means you have to have 5 rows in the table box before a new row is created. Perhaps you meant 1.2?

FEATURES AND TRAITS
NAMEACTION/RECHARGENotes
Hexblade's Curse(Bonus Action—1/Short Rest)Choose one creature you can see within 30ft. The target is cursed for 1 minute. Until the curse ends, you gain /the following benefits: You gain a +2 bonus to damage rolls against the cursed target and any attack roll you make against the cursed target is acritical hit on a roll of 19 or 20 on the d20. If the cursed target dies, you regain 4 hp.
Section 2x2
Section 3x3
Section 4x4
Section 5x5
More cool text titleanother actionyup. You got text.

Compared to just forcing line breaks where you want:

Hexblade's Curse(Bonus Action—1/Short Rest)Choose one creature you can see within 30ft. The target is cursed for 1 minute.
Until the curse ends, you gain the following benefits:
You gain a +2 bonus to damage rolls against the cursed target and any attack roll you make against the cursed target
is acritical hit on a roll of 19 or 20 on the d20. If the cursed target dies, you regain 4 hp.
Hexblade's FurySomething elseMore descriptive text that goes
on and on and one until you wonder
why they couldn't condense the text to something simple.

Chernobyl
supporter, 162 posts
Area of desolate waste,
Mutation Central.
Thu 27 May 2021
at 06:42
  • msg #4

Line breaks within cells

Yeah, I was trying to do the second option, but I had forgotten about the forced line breaks you can do with \n.
Sign In