summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authordynaflash <dynaflashtech@gmail.com>2007-07-09 19:51:58 +0000
committerdynaflash <dynaflashtech@gmail.com>2007-07-09 19:51:58 +0000
commitf443f516c2f56d2b64bd1b6c050ff75801b80112 (patch)
tree4cd6c4132d329c8c04bef6d390e3124596a0bfe5 /macosx
parenteaeed9239c1747522ca16c671a02ea63611d9f6d (diff)
MacGui: Queue fix
- Adjust height of NSScrollview to properly accommodate long queue lists without cutting of the info at the bottom - Start task numbers in queue with one instead of 0. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@666 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx')
-rw-r--r--macosx/QueueController.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/QueueController.mm b/macosx/QueueController.mm
index 7a8f7dda9..0d2869428 100644
--- a/macosx/QueueController.mm
+++ b/macosx/QueueController.mm
@@ -79,7 +79,7 @@
hb_title_t * title;
NSSize size = [fScrollView contentSize];
- int height = MAX( 20 + 125 * hb_count( fHandle ), size.height );
+ int height = MAX( 20 + 145 * hb_count( fHandle ), size.height );
[fTaskView setFrame: NSMakeRect(0,0,size.width,height)];
NSRect rect = NSMakeRect(10,height-10,size.width-20,10);
@@ -98,7 +98,7 @@
/* show the name of the source Note: use title->name instead of
title->dvd since name is just the chosen folder, instead of dvd which is the full path*/
[self AddTextField: [NSString stringWithFormat:
- @"Task: %d Source: %s Title: %d Chapters: %d to %d Pass: %d of %d",i, title->name, title->index , j->chapter_start, j->chapter_end,MAX( 1, j->pass ), MIN( 2, j->pass + 1 )] rect: &rect];
+ @"Task: %d Source: %s Title: %d Chapters: %d to %d Pass: %d of %d",i+1, title->name, title->index , j->chapter_start, j->chapter_end,MAX( 1, j->pass ), MIN( 2, j->pass + 1 )] rect: &rect];
/* Muxer settings (File Format in the gui) */
if (j->mux == 65536 || j->mux == 131072 || j->mux == 1048576)
{