StrataSource / Portal-2-Community-Edition

Task tracker for Portal 2: Community Edition
https://www.portal2communityedition.com
146 stars 3 forks source link

Enhancement: Bigger font size for developer console #1660

Open HugoBDesigner opened 4 months ago

HugoBDesigner commented 4 months ago

What would this enhancement be for?

UI/UX

Describe your enhancement suggestion in more detail

When running the game from Hammer, a developer console opens with it (presumably a vgui leftover). However, that console is far more readable and accessible than the main one, especially with regards to font size. It'd be great if the default font size for the console could be increased.

image Left: main, toggleable console. Right: old console, more readable

tsa96 commented 4 months ago

I suspect that's because you're used to using a relatively small screen (looks like it from the screenshot), and VGUI components have a fixed size regardless of screen size. Thus the console takes up a relatively large part of your screen, and the font appears larger. On a larger screen, the VGUI console font can look overly small.

Personally I think the larger font size looks a lot worse, but it's probably mostly screen-dependent. On a 1920x1080 screen (by far the most common resolution according to Steam HW) it looks very reasonable to me, could maybe be increased to 12pt.

Anyway, if you want it significantly larger, modify the font-size in &__message-target > MultiselectLabel in styles/pages/console.scss (at least that's where it is in Momentum). Also this isn't an engine issue, this is set by game-specific Panorama files.

tsa96 commented 4 months ago

@JJL772 @ozxybox I don't want to mess with your repos but this should be on the P2:CE tracker, not here.