diff options
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/Controller.m | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/macosx/Controller.m b/macosx/Controller.m index c6236c43a..580b51348 100644 --- a/macosx/Controller.m +++ b/macosx/Controller.m @@ -606,12 +606,19 @@ static NSString * ChooseSourceIdentifier = @"Choose Source It [fEncodeStartStopPopUp addItemWithTitle: @"Chapters"]; [fEncodeStartStopPopUp addItemWithTitle: @"Seconds"]; [fEncodeStartStopPopUp addItemWithTitle: @"Frames"]; - /* Align the start / stop widgets with the chapter popups */ - [fSrcTimeStartEncodingField setFrameOrigin:[fSrcChapterStartPopUp frame].origin]; - [fSrcTimeEndEncodingField setFrameOrigin:[fSrcChapterEndPopUp frame].origin]; + + // Align the start / stop widgets with the chapter popups + NSPoint startPoint = [fSrcChapterStartPopUp frame].origin; + startPoint.y += 2; + + NSPoint endPoint = [fSrcChapterEndPopUp frame].origin; + endPoint.y += 2; + + [fSrcTimeStartEncodingField setFrameOrigin:startPoint]; + [fSrcTimeEndEncodingField setFrameOrigin:endPoint]; - [fSrcFrameStartEncodingField setFrameOrigin:[fSrcChapterStartPopUp frame].origin]; - [fSrcFrameEndEncodingField setFrameOrigin:[fSrcChapterEndPopUp frame].origin]; + [fSrcFrameStartEncodingField setFrameOrigin:startPoint]; + [fSrcFrameEndEncodingField setFrameOrigin:endPoint]; /* Destination box*/ NSMenuItem *menuItem; |