зеркало из https://github.com/xamarin/mac-samples.git
Fix spacing from https://github.com/xamarin/mac-samples/pull/120 (#128)
This commit is contained in:
Родитель
2dd06a81eb
Коммит
036875619e
|
@ -157,8 +157,8 @@ namespace SamplesButtonMadness
|
|||
codeBasedSegmentControl.SetMenu (buttonMenu, 0);
|
||||
nibBasedSegControl.SetMenu (buttonMenu, 0);
|
||||
|
||||
// add icons to each segment (applied to both nib-based and code-based)
|
||||
NSImage segmentIcon1 = NSWorkspace.SharedWorkspace.IconForFileType(HFSTypeCode.ComputerIcon);
|
||||
// add icons to each segment (applied to both nib-based and code-based)
|
||||
NSImage segmentIcon1 = NSWorkspace.SharedWorkspace.IconForFileType(HFSTypeCode.ComputerIcon);
|
||||
segmentIcon1.Size = new CGSize(16, 16);
|
||||
nibBasedSegControl.SetImage (segmentIcon1, 0);
|
||||
codeBasedSegmentControl.SetImage (segmentIcon1, 0);
|
||||
|
|
Загрузка…
Ссылка в новой задаче