Page 1 of 1

Add additional font size to dropdown

Posted: Thu Feb 27, 2020 3:42 pm
by lidds
Some of my customers are working on large paper size drawings e.g. A0 paper size. At the moment the smallest font size you can select from the font size dropdown is "8 pt", is there a way that I could add 7, 6, 5, 4, 3, 2 pt to the dropdown?

Thanks in advance

Simon

Re: Add additional font size to dropdown

Posted: Fri Feb 28, 2020 7:32 am
by Sasha - Tracker Dev Team
Hi Simon,

A little illustration would help understanding what font size exactly are you referencing.

Cheers,
Alex

Re: Add additional font size to dropdown

Posted: Fri Feb 28, 2020 8:44 am
by Willy Van Nuffel
I suppose it must be in the "Page Content Properties"-toolbar (Classic toolbars) or in the "Format"-ribbon (Ribbon UI), where the smallest value for the "Font Size" is "8 pt".

In case you like smaller values, you must type them manually.

Best regards.

Re: Add additional font size to dropdown

Posted: Fri Feb 28, 2020 11:54 am
by lidds
Hi,

Yes this was the font size dropdown I was referring to. I know you can enter a smaller value in the text field, however I was to add the values to the dropdown so the user can select them.

Is something like this possible
viewtopic.php?f=66&t=31093

Thanks

Simon

Re: Add additional font size to dropdown

Posted: Wed Mar 04, 2020 11:21 am
by lidds
Is this possible?

Thanks

Simon

Re: Add additional font size to dropdown

Posted: Thu Mar 05, 2020 7:57 am
by Sasha - Tracker Dev Team
Hello Simon,

Here's what I'm thinking. You can create a custom command handler as listener https://gist.github.com/Polaringu/16bb2 ... 7cbe36f4e6
Then you will need the OnCreateNewCtl method, where you can obtain the overloaded IUIX_Obj control after you have called the same method of the old command handler. This object is a combo box - you should query the implementation of it and then just simply insert the needed values into it.

Cheers,
Alex