Professional UI Solutions
Site Map   /  Register


Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » Font size Collapse All
Subject Author Date
Offer Har Nov 29, 2010 - 8:08 AM

Dear Support,

We would like to have a control over the size of the fonts in the system, for example the status-bar - how do we do it?



Technical Support Dec 1, 2010 - 10:03 AM

Try to use this as text property of tooltip or status pane:

<html><big>This text should be big</big></html>

Technical Support Dec 1, 2010 - 7:17 AM

The FunnyBars sample demonstrates how to change the UI font on-the-fly. But it changes it globally. Prof-UIS classes often provide virtual methods for changing the font of a particular control: CExtToolControlBar::OnGetToolbarFont(). Sometimes you should use custom draw virtual methods to change parameters like the font size: CExtStatusControlBar::OnPaintPane(). But these approaches are not needed if you are using v.2.90 or later. The custom font task is automatically solved with the HTML everywhere feature. Just use HTML instead of plain text when you need custom text that is bigger, smaller, colored, subscript, superscript, bold, italic, underlined or strike-through.

Offer Har Dec 1, 2010 - 7:21 AM

Thank you for the answer.

Is there an example of the HTML anywhere were I can see that working? Will it automatic changes the height of title bar and grid rows if the font is bigger?


Technical Support Nov 29, 2010 - 12:37 PM

Could yo provide us with more details about the control you need? Or send us a screenshot of any similar control.

Offer Har Nov 29, 2010 - 1:06 PM

We need the status bar, tool-bars tooltips and some other controls to have bigger fonts. How do we do this?