Grid: Default width and height of attach() and attach_next_to() to 1?
@dboles
Submitted by Daniel Boles Link to original bug (#785057)
Description
Just wondering whether anyone else thinks this would be useful.
I seem to fairly often run into cases where I want to specify the x and y coordinates of the added child, but always want it to have width and height of 1. Basically: using Grid as a simple square grid, where each child has size 1 x 1.
Do you think it would be useful to default the width and height arguments to 1 in the declaration? They are at the end of the argument list, so this can be done without an API break. Even if this is not all that common, 1 seems like a sensible default and it gives people the option of omitting the dimensions.