I want to know how can we size any element. Like for eg : I have 3 textboxes in a single line, and all the 3 takes the equal spaces, but i want to resize it manually. Like i want 20%, for 1st textbox and 40% for rest each. Which is the method or function by which is can get the width or size of any element to resize it.
How can we size the element
Answers approved by surveyjs Support
Hello,
There is question.width property. You can set this property to "20%" and "40%" accordingly.
Here is the example.
Thank you,
Andrew
SurveyJS Team
Show previous comments
(16)
AT
5 years ago
Hello,
It depends on what bootstrap theme you are using. They are different. This type of questions is likely for bootstrap forums.
Thank you,
Andrew
SurveyJS Team
AT
5 years ago
Do you want me to google for you? ;-)
I did not check, but I believe that we rely on bootstrap material CSS here, so you have to override them.
Thank you,
Andrew
SurveyJS Team