Fix text alignment in wxRadioButton
Label should be always left-aligned to be positioned just next to the button image. See #17933.
This commit is contained in:
@@ -109,6 +109,7 @@ wxWidgetImplType* wxWidgetImpl::CreateRadioButton( wxWindowMac* wxpeer,
|
|||||||
wxNSRadioButton* v = [[wxNSRadioButton alloc] initWithFrame:r];
|
wxNSRadioButton* v = [[wxNSRadioButton alloc] initWithFrame:r];
|
||||||
|
|
||||||
[v setButtonType:NSRadioButton];
|
[v setButtonType:NSRadioButton];
|
||||||
|
[v setAlignment:NSLeftTextAlignment];
|
||||||
|
|
||||||
static int alternateAction = 1;
|
static int alternateAction = 1;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user