Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Suggested answer

DialogField RadioButton enum item labels cut off

(0) ShareShare
ReportReport
Posted on by 200

I added the AllSelected enum as a dialog Field on a dialog that I built in an x++ class.  It does not show the full label of each of the enum elements.  I have tried:

  1. DialogField.widthMode()
  2. DialogField.DisplayLength()
  3. DialogField.FrameType()
  4. Adding the field to a group
  5. Adding the field to a group with only one column.

The part that doesn't make sense to me is that the first label 'All' is shorter than what IS displaying for 'Selected', but its still getting cut off. To me, this means the issue isn't the width of the Field Group, or even the DialogField itself.  It is something more granular within the items of the radiobutton dialogField.

4807.Dialog.png

6254.Code.png

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 292,162 Super User 2025 Season 1 on at
    RE: DialogField RadioButton enum item labels cut off

    Hi Tim,

    If you have the option, verify this issue on 10.0.32 or 10.0.33.

  • cowboyott Profile Picture
    cowboyott 200 on at
    RE: DialogField RadioButton enum item labels cut off

    Hi Andre,

    I am on 10.0.31.

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 292,162 Super User 2025 Season 1 on at
    RE: DialogField RadioButton enum item labels cut off

    Hi Tim,

    What exact version of Dynamics 365 F&O are you using? There was an issue which is probably resolved in 10.0.32 and 10.0.33. The issue was noticeable on header/lines forms, where also these labels were cut off.

  • GirishS Profile Picture
    GirishS 27,821 Super User 2024 Season 1 on at
    RE: DialogField RadioButton enum item labels cut off

    Check the below article and see if it helps.

    https://gvkkishore.wordpress.com/2015/04/22/simple-dialogs-in-x/

    Thanks,

    Girish S.

  • cowboyott Profile Picture
    cowboyott 200 on at
    RE: DialogField RadioButton enum item labels cut off

    I tried this and did not work.

  • cowboyott Profile Picture
    cowboyott 200 on at
    RE: DialogField RadioButton enum item labels cut off

    Hi Girish, I tried putting both fields into a fieldgroup and specified columns(1), but that did not move it below. How would you recommend getting it on a new line?

    Thanks.

  • Suggested answer
    Bharani Preetham Peraka Profile Picture
    Bharani Preetham Pe... 3,587 Super User 2024 Season 1 on at
    RE: DialogField RadioButton enum item labels cut off

    Hey, can you try like,

    dialogGroup = dialog.addGroup("GroupName");

    dialogGroup.columns(2);

    This addGroup is present in dialog class;

    We have the column number property. Similarly with code as above. This should increase the width.

  • Suggested answer
    GirishS Profile Picture
    GirishS 27,821 Super User 2024 Season 1 on at
    RE: DialogField RadioButton enum item labels cut off

    Hi Tim,

    Try to move that Enum field below the Printer name text box. May be the label for that Enum is too long to fit into the screen.

    Thanks,

    Girish S.

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,162 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,962 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans