Skip to content

Table Editor doesn't preserve whitespaces on column width change #662

@aik099

Description

@aik099

Example table:

+------------------------------+----------+----------+
| heading 1                    | heading 2| heading 3|
+==============================+==========+==========+
| .. config-property::         | line 1   |          |
|    :name: TrimRequiredFields |          |          |
|    :type: int                | line 2   | line 2   |
|                              | line 3   |          |
|                              | line 4   |          |
+------------------------------+----------+----------+
| .. config-property::         | line 1   | 200      |
|    :name: MenuFrameWidth     | line 2   |          |
|    :type: int                | line 3   |          |
+------------------------------+----------+----------+

When you decrease the content of the cell, then heading of the column loses its trailing space (the 1 removed in line 1 text):

+------------------------------+----------+-----------+
| heading 1                    | heading 2| heading 3 |
+==============================+==========+===========+
| .. config-property::         | line     |           |
|    :name: TrimRequiredFields |          |           |
|    :type: int                | line 2   | line 2    |
|                              | line 3   |           |
|                              | line 4   |           |
+------------------------------+----------+-----------+
| .. config-property::         | line 1   | 200       |
|    :name: MenuFrameWidth     | line 2   |           |
|    :type: int                | line 3   |           |
+------------------------------+----------+-----------+

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions