You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 30, 2022. It is now read-only.
When using the procedure in Bug Report #7 to create a two dimensional matrix of radio buttons, only the first column of buttons renders the text correctly. The additional columns do not display any text at all when imagePosition is NSImageLeft, NSImageRight, or NSNoImage. You can see the text superimposed in weird ways when imagePosition is in NSImageBelow NSImageAbove and NSImageOverlaps. This suggests that the text frame for the control may not being calculated correctly when in a matrix. I noticed there is some code to fix up the y-plane coordinates, possibly there is an x-plane correction necessary as well.
HOW TO REPRODUCE:
Create a two-dimensional matrix of buttons (I'm using 3 columns, 4 rows). Change each button's image to NSRadioButton, and it's class to BGHUDButtonCell. Simulate the interface.
The text was updated successfully, but these errors were encountered:
When using the procedure in Bug Report #7 to create a two dimensional matrix of radio buttons, only the first column of buttons renders the text correctly. The additional columns do not display any text at all when imagePosition is NSImageLeft, NSImageRight, or NSNoImage. You can see the text superimposed in weird ways when imagePosition is in NSImageBelow NSImageAbove and NSImageOverlaps. This suggests that the text frame for the control may not being calculated correctly when in a matrix. I noticed there is some code to fix up the y-plane coordinates, possibly there is an x-plane correction necessary as well.
HOW TO REPRODUCE:
Create a two-dimensional matrix of buttons (I'm using 3 columns, 4 rows). Change each button's image to NSRadioButton, and it's class to BGHUDButtonCell. Simulate the interface.
The text was updated successfully, but these errors were encountered: