Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RichTextLabel + tag [table] = all bags #29813

Open
Tracked by #39144
DimitriyPS opened this issue Jun 15, 2019 · 2 comments
Open
Tracked by #39144

RichTextLabel + tag [table] = all bags #29813

DimitriyPS opened this issue Jun 15, 2019 · 2 comments

Comments

@DimitriyPS
Copy link

DimitriyPS commented Jun 15, 2019

Godot version: 3.1.1
All OS

001

In the RichTextLabel component, everything that is between the tags: {table} and {/table} - this is one big bug! What works outside of tags {table} and {/table}, inside tags does not work!

  1. Determining column width does not work correctly. The right edge is uneven. Sometimes letters climb under the scrolbar.
  2. The definition of the table length does not work correctly. The vertical scrolbar reaches its lowest point when a few more paragraphs of text remain below.
  3. Sometimes when scrolling down, the text simply disappears (completely)!
  4. A single carriage return indent above a few lines.
  5. Tag: {fill} in the table is processed incorrectly. Compound irregularity of the right paragraph margin.

Demo.zip

@TheDuriel
Copy link
Contributor

[table][/table] was never fully implemented. As, iirc, the documentation states.

@sszigeti
Copy link

Just discovered that [table] (or [cell]?) always adds a 1px padding. This brings about 2 problems:

  • Since the background color of a cell can't be set, the generated layout is jaggy.
  • The width of the table is incorrectly calculated, so the rightmost cells might be partially cut off.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants