Skip to content
Snippets Groups Projects
Commit 0624da31 authored by Lukas Ladenberger's avatar Lukas Ladenberger
Browse files

fix: set correct width of cell after increasing the number of rows of a

table
parent d7445ef4
No related branches found
No related tags found
No related merge requests found
......@@ -137,7 +137,7 @@ public class BTablePart extends AppAbstractEditPart {
for (int i = numberOfCurrentRows; i < numberOfRows; i++) {
CreateCommand cmd = new CreateCommand(new BTableCell(
column.getVisualization()), column);
cmd.setLayout(new Rectangle(0, 0, 50, 20));
cmd.setLayout(new Rectangle(0, 0, column.getDimension().width, 20));
cmd.execute();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment