Radio button group #101
Loading…
Reference in New Issue
No description provided.
Delete Branch "ilidemi/orca:radio-button"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
78c254630d
to0fc6136215
I see you changed the way boxes are drawn, putting the border inside the box and clipping on the true box. Why was that preferable that way, and did you check the change doesn't interfere with auto-layout code?
0fc6136215
tod44ac5a1fb
Selected radio button was initially represented as a white box with thick blue border which I thought would allow for easier styling. The border would need to be included in the dimensions of the rect to not mess up the layout. I now see that color+bgColor is a more intuitive combo than bgColor+borderColor so changed that to a proc (however trivial).
There is a minor ick that the menu panel borders are half a px out of alignment with the menu button and having borders within the rect would fix that along with similar future issues but that's too minor to justify redoing the borders here.
Layout-wise, the logic only looks at box->rect which would stay the same, just the drawn border would now move inward. But let's leave that for the future.