Font type and size in designer VS Runtime

0
0

Hello- I changed the theme’s default font to Poppins. In the designer it does not show this way so it is very difficult to layout text and controls. See screenshot. Is there a way to force the designer to use the font I selected ? Some items use the font – like watermark in text box and the text on buttons. But not the label text for example.

Also – notice in 2nd screenshot – the text box size is rendered smaller in width as well.

  • You must to post comments
0
0

Adding the font to my local machine fixed the font issue n the designer (kind of). The font in the designer is set to the theme default – but it apears smaller in the Visual Studio designer than it does in the browser – see the “Control Point Name” label – the “Name” portion is cut off because the font the browser is using is larger.

Also the text boxes are rendering in a shorter width than what I have set in the designer. The textbox autosize field is set to OFF on the text box

Attachment
  • You must to post comments
0
0

Hi Edmond,

Please make sure that you install the .ttf files of Poppins on your server and on your development machine.

You can download the font files from here: Poppins – Google Fonts

The reason for that is that Web Fonts aren’t usable by windows and that’s why you were experiencing these issues.

Best regards,
Alaa

  • edmond girardi
    See latest upload. Adding the font to my pc fixed it in the designer – but the text box is shorter when rendered at run time. I have autosize set to OFF on the text box.
  • You must to post comments
0
0

Hi Edmond,

Have you applied the right theme file to the designer? I’ve tried using Poppins as a default font and it’s working fine in designer (no issues rendering the font).

If that’s the case, then can you please specify what version of Wisej you’re using?

Thank you,
Alaa

 

  • edmond girardi
    Yes I see my custom theme selected in the bottom left of visual studio
  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.