Open Rafhack opened 8 years ago
solve it by remove //this.setColumnCount(-1); and //this.setColumnCount(-1); in vertical too
@medozeus you mean setRowCount in horizontal i think it's better to set it undefined: this.setRowCount(UNDEFINED); // in horizontal this.setColumnCount(UNDEFINED); // in vertical
setupVertical()
andsetupHorizontal()
methods onQuiltViewBase
class, callsetColumnCount(int)
andsetRowCount(int)
passing -1 as undefined value, this makes GridLayout throw anIllegalArgumentException
. Instead, these methods should passUNDEFINED
constant as undefined value.