TableMatrix SquareCells=true does not work with array of width 1

Issue #324 resolved
Former user created an issue

If you have a TableMatrix with the SquareCells=true attribute and the array has a width of 1 it will render with non-square cells.

Example code:

[TableMatrix(HorizontalTitle = "Blocks", SquareCells = true, ResizableColumns = false)]
public GameObject[,] BlocksMatrix = new GameObject[1, 3];

Unity Version: 2018.1.0b13 Odin Version: (This version isn't in your drop down list) OS: Win10 16299 Editor Only mode: I don't know what this means. I did not supply any extra attributes to the C# script like execute in editor mode.

Comments (3)

  1. Log in to comment