summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2014-07-22 18:35:23 +0000
committerSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2014-07-22 18:35:23 +0000
commit3caff69e7f8afee5ec926088b8ca29905f75571d (patch)
tree08f0778c90bb0e1d5f307d76746818e0847e62b8
parentd801c00dc645ff2745e06958f0a0971700296424 (diff)
downloadpcsxr-3caff69e7f8afee5ec926088b8ca29905f75571d.tar.gz
OS X: minor QuickLook changes.
Changed the table width to 380. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@91035 e17a0e51-4ae3-4d35-97c3-1a29b211df97
-rw-r--r--macosx/Pcsxr-QL/GeneratePreviewForURL.m3
-rw-r--r--macosx/Pcsxr-QL/template.html3
2 files changed, 2 insertions, 4 deletions
diff --git a/macosx/Pcsxr-QL/GeneratePreviewForURL.m b/macosx/Pcsxr-QL/GeneratePreviewForURL.m
index 89ad191e..c13a3e04 100644
--- a/macosx/Pcsxr-QL/GeneratePreviewForURL.m
+++ b/macosx/Pcsxr-QL/GeneratePreviewForURL.m
@@ -119,8 +119,7 @@ static OSStatus GeneratePreviewForMemCard(void *thisInterface, QLPreviewRequestR
NSDictionary *previewDict =
@{(NSString *)kQLPreviewPropertyAttachmentsKey: htmlDict,
(NSString *)kQLPreviewPropertyDisplayNameKey: [url lastPathComponent],
- (NSString *)kQLPreviewPropertyWidthKey: @400,
- (NSString *)kQLPreviewPropertyHeightKey: @400};
+ (NSString *)kQLPreviewPropertyWidthKey: @400};
QLPreviewRequestSetDataRepresentation(preview, (__bridge CFDataRef)(data), kUTTypeHTML, (__bridge CFDictionaryRef)(previewDict));
diff --git a/macosx/Pcsxr-QL/template.html b/macosx/Pcsxr-QL/template.html
index 52ac5d44..2e3762cb 100644
--- a/macosx/Pcsxr-QL/template.html
+++ b/macosx/Pcsxr-QL/template.html
@@ -1,12 +1,11 @@
<html>
<head>
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type' />
-
<style>
table,th,td
{
border:1px solid black;
- width:400px;
+ width:380px;
}
</style>
</head>