[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [platform-swt-dev] Avoid HiDPI-autoscaling on Windows
|
Hi Lars,
are the self-drawn buttons on Windows still an issue? They should have
been fixed with https://bugs.eclipse.org/bugs/show_bug.cgi?id=506371.
If that is not true, please comment on this bug.
I've already did 4 days ago.
To set the scaling factor, IIRC you can use: ./eclipse -vmargs
-Dswt.autoScale=100
As explained in the mentioned
<https://bugs.eclipse.org/bugs/show_bug.cgi?id=508029>, Niraj suggested
this, but it still autoscaled the graphics operations and the images
(though for the images I've found a work-around).
--
Best regards,
Thomas Singer
On 28.11.2016 15:17, Lars Vogel wrote:
Hi Thomas,
are the self-drawn buttons on Windows still an issue? They should have
been fixed with https://bugs.eclipse.org/bugs/show_bug.cgi?id=506371.
If that is not true, please comment on this bug.
To set the scaling factor, IIRC you can use: ./eclipse -vmargs
-Dswt.autoScale=100
Best regards, Lars
On Mon, Nov 28, 2016 at 3:10 PM, Thomas Singer <ts-swt@xxxxxxxxxxx> wrote:
Hi all,
As soon as SWT implemented the ImageDataProvider, we adopted it for our
products (SmartGit, SmartSVN and SmartSynchronize). In the mean-time, you've
decided to also add autoscaling of images as well as graphic operations. I
thought to have found a good work-around to avoid the autoscaling by setting
DPIUtil.setDeviceZoom(100);
very early. Recently, when starting to work on a dark-theme, we discovered
that this invocation causes problems with the new self-drawn buttons on
Windows:
<https://bugs.eclipse.org/bugs/show_bug.cgi?id=508029>
so you either may use a HiDPI screen or themed GUI on Windows - both won't
work well together.
Judging from Niraj Modis responses in this bug, it looks like our above
work-around is not officially supported. What do others think about this
situation?
--
Best regards,
Thomas Singer
_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from
this list, visit
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev