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
This commit is contained in:
parent
d801c00dc6
commit
3caff69e7f
|
@ -119,8 +119,7 @@ static OSStatus GeneratePreviewForMemCard(void *thisInterface, QLPreviewRequestR
|
||||||
NSDictionary *previewDict =
|
NSDictionary *previewDict =
|
||||||
@{(NSString *)kQLPreviewPropertyAttachmentsKey: htmlDict,
|
@{(NSString *)kQLPreviewPropertyAttachmentsKey: htmlDict,
|
||||||
(NSString *)kQLPreviewPropertyDisplayNameKey: [url lastPathComponent],
|
(NSString *)kQLPreviewPropertyDisplayNameKey: [url lastPathComponent],
|
||||||
(NSString *)kQLPreviewPropertyWidthKey: @400,
|
(NSString *)kQLPreviewPropertyWidthKey: @400};
|
||||||
(NSString *)kQLPreviewPropertyHeightKey: @400};
|
|
||||||
|
|
||||||
QLPreviewRequestSetDataRepresentation(preview, (__bridge CFDataRef)(data), kUTTypeHTML, (__bridge CFDictionaryRef)(previewDict));
|
QLPreviewRequestSetDataRepresentation(preview, (__bridge CFDataRef)(data), kUTTypeHTML, (__bridge CFDictionaryRef)(previewDict));
|
||||||
|
|
||||||
|
|
|
@ -1,12 +1,11 @@
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type' />
|
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type' />
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
table,th,td
|
table,th,td
|
||||||
{
|
{
|
||||||
border:1px solid black;
|
border:1px solid black;
|
||||||
width:400px;
|
width:380px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user