surveyjs / survey-library

Free JavaScript form builder library with integration for React, Angular, Vue, jQuery, and Knockout.
https://surveyjs.io/form-library
MIT License
4.21k stars 814 forks source link

Wrap questions titles and show title actions in full instead of "..." #8144

Closed andrewtelnov closed 6 months ago

andrewtelnov commented 7 months ago

Here is the related issue on SurveyJS technical forum. User wants to show actions fully and wrap the question titles in several lines.

OlgaLarina commented 6 months ago

Example - https://plnkr.co/edit/pPCXmoCSTyI8rlQI

CSS .fix-toolbar-width {   flex: 0 0 auto; }

JS survey.getAllQuestions(false).forEach(q => {  let questionToolbar = q.getTitleToolbar();  if(q.name === "os") {   questionToolbar.isResponsivenessDisabled = true ;   questionToolbar.cssClasses.root += " fix-toolbar-width"  } });