Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

BoolValueCommandInput.isFullWidth

rolandas_vegis
Advocate

BoolValueCommandInput.isFullWidth

rolandas_vegis
Advocate
Advocate

I'm trying to make a button in a command with the BoolValueCommandInput. It has isFullWidth property which as I understand should make the button fill entire width of the dialog (description says so). Setting the property doesn't change the button in any way.

 

Am I missing something or is this a bug?

0 Likes
Reply
Accepted solutions (1)
657 Views
5 Replies
Replies (5)

marshaltu
Autodesk
Autodesk

Hello,

 

I did a quick check. It did have difference when we set the property into "True" and "False". The following snapshot were generated by our CommandInputSample.

 

http://help.autodesk.com/view/fusion360/ENU/?guid=GUID-e5c4dbe8-ee48-11e4-9823-f8b156d7cd97

 

Thanks,

Marshal

 

FullWidth2.pngFullWidth1.png



Marshal Tu
Fusion Developer
>
0 Likes

rolandas_vegis
Advocate
Advocate

Yes on your snapshots there is a difference. Could you try again but with a button which has no icon, and is text only?

0 Likes

marshaltu
Autodesk
Autodesk
Accepted solution

Hello,

 

This is what I am seeing without icon. What's the behaviour you expected for isFullWidth. Please kindly be aware this is a property for base object "CommandInput". So the behaviour may be different for each kind of command input.

 

Thanks,

Marshal

 

FullWidth3.png



Marshal Tu
Fusion Developer
>
0 Likes

rolandas_vegis
Advocate
Advocate

Well from the description of the property I expected the button to be stretched, now I see that's now how it works.

Thank you.

0 Likes

fatalbullethit
Participant
Participant

Curiously, when isFullWidth is set to True the checkbox and state button are aligned left while the click button is not - any way to make the click button align left (or right for that matter), too?

0 Likes