Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Grid Size #255
How do we define the size of the Grid?
I thought the setGridWidth and setGridHeight would do this.
PS: I find it slightly confusing to call this Grid when the geometry manager is grid.
Currently, these 2 config options are getting ignored, I'll get them included.
True, there is a bit of a conflict - but the majority of the audience won't know what geometry managers are, and those that do, can probably handle it :) One day, I have an alternative grid to implement, and I'll probably bring in some kind of simpler waffle class - that just gives a grid of labels, a bit like the micro:bit widget...
added a commit
Oct 1, 2017
Had a quick look at this - interesting issue with config implementation...
If a subClass calls config on the superClass, and the superClass also calls config on its super - we get stuck in a recursive loop.
In this scenario:
Might need to look at how super.config() is being used, and fix it for extended inheritance trees...
Regards GRID, Waffle Class. At this time I would consider naming it "Table". That would reflect the 2 dimensional aspect of the Grid, keep in line with other systems (such as dBASE and all of its relatives, example: Visual Foxpro), and be something that is not already named in appJar.