How can we control the font used in the Intelliprompt popup window?

SyntaxEditor for Windows Forms Forum

Posted 1 year ago by RobotGizmo
Version: 23.1.0
Avatar

Is there a way to control the font used in the Intelliprompt popup window? We would like to tweak the font face and size. Thanks!

Comments (3)

Posted 1 year ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hello,

We don't have anything for that built in.  It will use the SystemFonts.MenuFont for the IntelliPrompt UI.  In general, our IntelliPrompt session class implementations all have a protected virtual CreatePopupContent method that a session can override.  It is what creates the actual UI controls that render the IntelliPrompt when the session is opened.  That is where you would want to set the Font, perhaps by calling our base method and then setting the Font on the control it returns.  It can be a little tricky though since it would require you to be the one creating the session class instance (done by the related IntelliPrompt provider in a RequestSession method).

May I ask the look you wanted to achieve by changing the font?


Actipro Software Support

Posted 1 year ago by RobotGizmo
Avatar

The font appears too large for some reason after the v23 update. We were hoping to override it to correct the size but also set it to use the same font as the rest of our UI. I have a screenshot but I don't see a way to post it here. Is there are a way to send it over?

Posted 1 year ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Can you email the screenshot to our support address and reference this thread?  In your email, please describe your monitor setup and DPI on each.

I wondering if it could be related to the DPI-awareness updates we made for v23.1.  We can work with you privately to sort it out.  Thanks!


Actipro Software Support

The latest build of this product (v24.1.0) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.