ackwell / BrowserHost

Dalamud plugin for in-game browser rendering. Think OverlayPlugin, but it's in the game itself.
GNU Lesser General Public License v3.0
9 stars 12 forks source link

[Enhancement] Scale browser inlay #24

Open Xorag opened 2 years ago

Xorag commented 2 years ago

Hello! I've started using the plugin to show an ACT overlay, however I play on a 4k resolution where I scale up most UI elements for readability but the plugin doesn't seem to have this option so the bars/text in the screenshot below are borderline too small for me to read - if I could scale the overlay to 150-200% that would be super helpful.

image

Styr1x commented 2 years ago

High res user here, too.

I think the correct way to do this is to use the systems DPI settings to scale correctly like a browser would out of box. Unfortunatly I'm swamped with work so I don't have time to implement that myself atm.

Still, there is a simple workaround for the problem: just edit the overlay's CSS file to scale the body: "zoom: 1.5" for the DPS meter and "zoom: 2" for the rest works fine with 27"@4k for me.