Author Topic: What font is used for Syntax Expansion?  (Read 158 times)

jporkkahtc

  • Senior Community Member
  • Posts: 2433
  • Hero Points: 202
  • Text
What font is used for Syntax Expansion?
« on: October 22, 2021, 07:21:05 pm »
I tried setting all the "HTML Controls" fonts to large, but the 1st level popup for syntax expansion is unchanged.
The 2nd level is affected by that change.

Changing the document font doesn't seem to do it either.

jporkkahtc

  • Senior Community Member
  • Posts: 2433
  • Hero Points: 202
  • Text
Re: What font is used for Syntax Expansion?
« Reply #1 on: October 22, 2021, 07:25:10 pm »
Changing "Tree Icon Size" changes the icons, but not the font.
Large icons get clipped - see attached showing "Colossal".

Dennis

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 3471
  • Hero Points: 466
Re: What font is used for Syntax Expansion?
« Reply #2 on: October 25, 2021, 12:17:31 pm »
Dialog font is the font used in tree controls like the Auto-Complete popup for syntax expansion.

I have reproduced the issue with very large icons being clipped.  In the case of auto-complete, where we are trying to keep the list compact, I'm going to say the clipping is by design if you have an icon size configured which is significantly larger than the dialog font height.

jporkkahtc

  • Senior Community Member
  • Posts: 2433
  • Hero Points: 202
  • Text
Re: What font is used for Syntax Expansion?
« Reply #3 on: October 25, 2021, 04:47:48 pm »
Thanks.
So, why doesn't the 2nd level popup have the same font size as the first?
Seems like that would make sense.

#1 Pathological failure case, see attached. When Dialog Font size is set to Consolas 18, and TabIconSize is Extra Small, the example in the options dialog is clipped.
The Automatic option here is nice.


#2: When the dialog font is set large, the up/down spinner things are a bit weird. Notice the blue highlight peeking out from under the up/down arrows. Looks like there are actually overlapping controls.

#3: I noticed that the break-point indicator is pretty much invisible on modified lines when in dark mode - as they are both red. Maybe the breakpoint indicator could have an outline to make it stand out no matter what the background color is? For now, I changed my modified line color to dark grey. Seems like it works better with the "Dark: Black" scheme anyways.
« Last Edit: October 25, 2021, 04:51:07 pm by jporkkahtc »