Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] Avoid HiDPI-autoscaling on Windows

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



-- 
Eclipse Platform UI and e4 project co-lead
CEO vogella GmbH

Haindaalwisch 17a, 22395 Hamburg
Amtsgericht Hamburg: HRB 127058
Geschäftsführer: Lars Vogel, Jennifer Nerlich de Vogel
USt-IdNr.: DE284122352
Fax (040) 5247 6322, Email: lars.vogel@xxxxxxxxxxx, Web: http://www.vogella.com


Back to the top