From: Tomáš D. <tom...@gm...> - 2016-12-20 00:20:34
|
Thanks, but I am having this problem on ubuntu 16.04 lts. I did also try to search trough sources and look up for dpi or dpiAware, but did not find anything useful. This is the only section, where dpi is mentioned, but I do not have any clue how to use it or if it can be used. case IColumnIndexes.IDX_REQUIRED: { // Use valueof when min supported JDK is 1.4 //return Boolean.valueOf(_props[row].required); DriverPropertyInfo dpi = sdp.getDriverPropertyInfo(); if (dpi != null) { return Boolean.valueOf(dpi.required); } return Boolean.FALSE; } case IColumnIndexes.IDX_DESCRIPTION: { DriverPropertyInfo dpi = sdp.getDriverPropertyInfo(); if (dpi != null) { return dpi.description; } return s_stringMgr.getString("DriverPropertiesTableModel.unknown"); } -- Tomáš D. On Mon, Dec 19, 2016 at 1:38 PM, Wesley Newswanger < We...@ke...> wrote: > Hello Tomas, > > > > I had the same frustrating experience when I first got my 4k monitor. > > > > Here is what you need to do. I did test and confirm that this works with > Squirrel SQL. > > > > Download and install the free Resource Hacker program from here: > http://www.angusj.com/resourcehacker/ > > > > Start Resource Hacker and open the java.exe file. Mine was located at > ‘C:\Program Files (x86)\Java\jre1.8.0_111\bin’ > > > > In the left pane of Resource Hacker expand the Manifest node and select 1:0 > > > > Find the section that looks like this: > > > > <asmv3:application> > > <asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/ > WindowsSettings"> > > <dpiAware>true</dpiAware> > > </asmv3:windowsSettings> > > </asmv3:application> > > > > Change the line <dpiAware>true</dpiAware> to <dpiAware>false</dpiAware> > > > > Select Action > Modify or F5 to compile the changes. > > > > Save the java.exe file. If windows security does not allow you to save it > in the programs folder, save it to your desktop and then move it to the > original folder, overwriting the existing jave.exe file. > > > > Repeat the process on the javaw.exe file in the same folder. > > > > Open Squirrel SQL and it should now display correctly. If it doesn’t, go > back and verify that the dpiAware setting was for sure changed to false. I > had a couple times when the change was not applied. > > > > This process also works for other programs that display very small. For > more information on this procedure see the link below. > > > > http://winaero.com/blog/how-to-fix-apps-that-look-small- > on-high-dpi-and-high-resolution-displays/ > > > > Hope this helps. > > > > Best Regards, > > *Wesley S. Newswanger <http://w3w.cm/today.astounding.equals>* IT & > Database Administrator > > *Keystone Collections*™ > Office: 866.881.6680 ext. 1028 > Email: we...@ke... > > <http://www.keystonecollections.com/> > > *From:* Tomáš Debnár [mailto:tom...@gm...] > *Sent:* Sunday, December 18, 2016 11:32 AM > *To:* squ...@li... > *Subject:* [Squirrel-sql-users] squirell sql on resolution 3200x1800 > > > > Hello, > > > > I am having problem to run squirrel sql on my Dell XPS13 with 3200x1800 > resolution. Whole UI is small and I could not find any tool or option to > double its size. > > Is it possible to run squirrel in this resolution size? > > > -- > > > > Tomas Debnar > |