Rigbox
Rigbox copied to clipboard
expServer key hints have oversized
I just took a look using a rig. Two things weren't perfect: After displaying the calibration plot, the background went to black rather than grey, and also the help text was kind of hard to read (see below)
The first I think could be solved by just not changing the background color to begin with (lines 420 and 423) -- the plot displays as an image, so it's background will still be white, just not the psychtoolbox background behind it. The second I think just needs a smaller fontsize or larger line spacing.
Originally posted by @kevin-j-miller in https://github.com/cortex-lab/Rigbox/pull/245#issuecomment-582447975
I looked into the text size setting. It seems PTB uses the system default, which should work fine. The clipping your seeing is not affected by the line spacing. In Windows Settings > System, is Scaling set to 100? Try running this code and telling me how it looks:
rig = hw.devices([], false);
win = rig.stimWindow;
win.open();
sz = 20;
def = Screen('TextSize', win.PtbHandle, sz);
msg = sprintf('Default text size: %.0f,\n current size: %.0f', def, sz);
win.drawText(msg, 'centerblock', 'center', win.White, 1, 40)
win.flip()
pause(5)
Screen('TextSize', win.PtbHandle, def);
win.close;