Community
AutoCAD LT Forum
Welcome to Autodeskā€™s AutoCAD LT Forums. Share your knowledge, ask questions, and explore popular AutoCAD LT topics.
cancel
Showing results forĀ 
ShowĀ Ā onlyĀ  | Search instead forĀ 
Did you mean:Ā 

Ribbon Combo Box display size

3 REPLIES 3
SOLVED
Reply
Message 1 of 4
c.dufrene
663 Views, 3 Replies

Ribbon Combo Box display size

Hi,

 

I'd like to understand to logic behind code "NaN" which controls the size of a combo box.

I found 2 of those combo boxes with the same value but the onscreen size is different...

 

But perhaps you have another way for me to have dim's style in my ribbon ?

 

Regards.

 

 

3 REPLIES 3
Message 2 of 4
bgingerich
in reply to: c.dufrene

I'm not sure what the "NaN" is for, but if you are wanting to make the box smaller play around with different numbers instead of "NaN."  (e.g. 150)  Those spaces are for the width of the box in pixels. 

ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€
Brandon Gingerich
Message 3 of 4
c.dufrene
in reply to: bgingerich

Great ! you nailed it

 

Message 4 of 4
pendean
in reply to: c.dufrene

NaN: Not a Number, it allows the CUI to resize as it sees fit without you entering a number (usually too wide I found).

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

ā€Boost