web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

Radio button size and font size

(2) ShareShare
ReportReport
Posted on by 1,215

Hi,

I have an unbound radio button on a form. I have to reduce the size as well as the font size of it.

For the control size, I set its height mode to manual and height to 2. But, that crops the radio button circle (as could be seen in the image), which I do not want.

For the font size, I tried <controlName>.fontSize(7) or <controlName>.fontSize(8), but it changes nothing.

RadioButton.jpg

With best regards,

Abhinay

I have the same question (0)
  • Gunjan Bhattachayya Profile Picture
    35,423 on at
    RE: Radio button size and font size

    Hi Abhinay,

    Where are you placing the code for altering the size of the control?

  • Abhinay Tharwal Profile Picture
    1,215 on at
    RE: Radio button size and font size

    Hi Gunjan,

    Thank you for your reply.

    I have tried the form's init method and the run method, after the call for super.

    Regards,

    Abhinay

  • Gunjan Bhattachayya Profile Picture
    35,423 on at
    RE: Radio button size and font size

    Abhinay,

    I can't see any way we can alter the size of the radio button. I don't think the framework allows for changes to these controls so that the entire application maintains the same design.

  • vinitgoyal2005 Profile Picture
    6,332 on at
    RE: Radio button size and font size

    Hi Abhinay,

    Why are you trying to change the font/size? D365FO uses CSS for all the styling to maintain consistency (and few other things) and we can't use font/size properties anymore.

  • WillWU Profile Picture
    22,361 on at
    RE: Radio button size and font size

    Hi Abhinay,

    Have you tried to set the DisplayHeight property of the control?

  • Abhinay Tharwal Profile Picture
    1,215 on at
    RE: Radio button size and font size

    Hi Will,

    Thank you for your reply.

    Unfortunately, the Radio Button control does not have that property.

    Regards,

    Abhinay

  • Suggested answer
    JP-09051419-0 Profile Picture
    2 on at
    Radio button size and font size
    Hi.
     
    RadioSize (You can select this from dropdown on top left).
     
     
  • Suggested answer
    Navneeth Nagrajan Profile Picture
    2,191 Super User 2025 Season 2 on at
    Radio button size and font size
    Hi Abhinay,
     
    A few suggestions:
    For unbound controls and to control their styling the best suggestion is to add css property for the control under the Resources node. Later, in D365 F&SCM, you can add this Resource as a reference to the Form control and then add this resource as a reference.
    There are limitations with respect to altering the font size within D365 F&SCM itself and the length of the radio control in parallel because the font size is standard across most of the controls in D365 F&SCM. To alter the length you can refer this resource node .js file that is required when we load the D365 F&SCM page.
     
     
     
    Hope this helps.
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 1,922

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 1,922

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 835 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans