pgAdmin 4 commit: This quite trivial patch adds support for HiDPI (i.e.

From: Dave Page <dpage(at)pgadmin(dot)org>
To: pgadmin-hackers(at)postgresql(dot)org
Subject: pgAdmin 4 commit: This quite trivial patch adds support for HiDPI (i.e.
Date: 2016-06-11 17:15:05
Message-ID: E1bBmUz-0006qC-Sr@gothos.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

This quite trivial patch adds support for HiDPI (i.e. "retina") displays on OS X.

The reason for this issue is that you guys use a heavily trimmed down Info.plist
file, which among others doesn't contain the NSPrincipalClass key.
Without that key an OS X application is treated as a legacy one and thus won't
support many "new" features including HiDPI displays.
By adding the key back, you a) follow the recommended Info.plist style and
b) get HiDPI support for free!

Apart from that I _really_ recommend adding the following keys too (mostly
keys added by default by Xcode - I've guessed the values):

<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>pgAdmin 4</string>
<key>CFBundleShortVersionString</key>
<string>1.0.0</string>
<key>CFBundleVersion</key>
<string>1.0.0</string>
<key>LSMinimumSystemVersion</key>
<string>10.9</string>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2016 The pgAdmin Development Team. All rights reserved.</string>

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=702609517f23be7c14e2f9d655f66ea8ac43dd9c
Author: Leonard Hecker <leonard(at)hecker(dot)io>

Modified Files
--------------
runtime/Info.plist | 14 ++++++++++++++
1 file changed, 14 insertions(+)

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2016-06-11 17:15:26 Re: PATCH: Support for HiDPI Displays on OS X (pgAdmin4)
Previous Message Asser Schrøder Femø 2016-06-11 13:17:11 Qt runtime issue on python 3 + patch