View Single Post
Old 11-25-2019, 02:01 PM   #85
hwhalen
Human being with feelings
 
hwhalen's Avatar
 
Join Date: Jan 2010
Location: Canada
Posts: 1,034
Default

Quote:
Originally Posted by hwhalen View Post
I don't seem to be able to scale(down) the Theme script window
when the scale setting is at 200%. Is this possible? This
might prove to be a problem for some users.
Quote:
Originally Posted by White Tie View Post

No, it picks its size (100% or 200%) based on your screen resolution.
Anything over 150% scaling on Win 10 produces a dialog that is too large.
At 140% its fine, at 150% its ~the same size as it is at 200%(IMO).

As there is no scroll option, the dialog can not be used because the
controls disappear when you attempt to resize it.

https://stash.reaper.fm/37589/Script-RC4.png

After a little investigation I noticed this appears
to be related to the dpi test. I changed the drawscale.
I'm sure there is a better way...but for myself this fixes it.

function getDpi()
if gfx.ext_retina ~= dpi then
dpi = gfx.ext_retina
if dpi>1.49 then drawScale = 1 else drawScale = 1 end
if reaper.GetOS() ~= "OSX64" and reaper.GetOS() ~= "OSX32" then
_gfxw,_gfxh = drawScale*_gfxw,drawScale*_gfxh
end
end
--reaper.ShowConsoleMsg('init at '.._gfxw..' '.._gfxh..'\n')
gfx.init("",_gfxw,_gfxh)
rootnSize()
root:draw()
end

.ps Thanx for adding the master mcp dpi layouts
__________________
My Music
Noise From My Head
On The Links

Last edited by hwhalen; 11-26-2019 at 10:14 AM. Reason: My solution
hwhalen is offline   Reply With Quote