Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-ui-dev] Mapping physical pixels

I'm not aware of such functionality in Browser.java.

Adding support for that might be tricky because the underlying browsers differ on each platform. (Win32/Cocoa/Gtk->webkit).

On Tue, Jan 3, 2017 at 2:00 PM, Utsav Oza <utsavoza96@xxxxxxxxx> wrote:
Hello,

I was working on BugĀ 508519 - Give user ability to choose target size of the rendered page in Browser. While we can resize browser with different screen resolutions, is there a way to map the size of browser in (physical pixels) to virtual pixels, that is independent of desktop screen size? Screenshot shows that browser of size 640x1136 pixels, which is a standard smartphone screen resolution which unfortunately looks quite large on desktop due to varying pixel density.

Thanks,
Utsav Oza

_______________________________________________
platform-ui-dev mailing list
platform-ui-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/platform-ui-dev



--
Leo Ufimtsev
Software Engineer, Eclipse team.
Toronto, Canada

Red Hat, Inc.
Leonidas@xxxxxxxxxx | http://DeveloperBlog.RedHat.com/

Back to the top