summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authorritsuka <[email protected]>2014-08-25 16:24:33 +0000
committerritsuka <[email protected]>2014-08-25 16:24:33 +0000
commit3d755e56c83ee673d5542145325c8be17017208b (patch)
tree23c732a5dbfa024a3293414106fd82fceaa01816 /macosx
parent7f5f9fa934bf1e5afb7567badf40147c28594ff6 (diff)
MacGui: aligns the time/start textfield in the main window.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6361 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx')
-rw-r--r--macosx/Controller.m17
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;