You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The minimum width of individual columns for Single-Select Matrix questions is calculated too high. Overriding the minimum column width value in the SurveyDesigner UI or in the JSON data does not change anything (only if you increase it beyond the calculated value - which is the opposite of what is needed).
Steps to reproduce
Create a new Survey width static width set to 800px.
Add a Single-Select Matrix Question with at least 5 columns with very short titles (e.g. 1, 2, 3, 4, 5)
(optional) Add some rows with long text and therefore increase row header width to 250px
Now only the first 3 columns are visible while the gap between each radio button is incredibly large.
Expected behavior
The columns should automatically be compressed to a width that allows all columns to be visible.
Screenshots
Observed:
There are 5 columns defined but only 3 are visible because of the large gap between them.
Expected:
All 5 columns should be visible because they can easily fit on the screen.
CSS in Firefox Dev-Tools:
Researching in my browser's dev tools shows that the following CSS property is causing the problem:
Hi @Anonym271,
Thank you for reporting this issue. In the meantime, a matrix doesn't have an option to decrease a column's width. I'll discuss this usage scenario with our developers. View Demo
Hi @Anonym271,
I discussed this issue with our developers. Unfortunately, a single-select matrix doesn't have an option to decrease a column width. You can decrease the width using CSS.
Describe the bug
The minimum width of individual columns for Single-Select Matrix questions is calculated too high. Overriding the minimum column width value in the SurveyDesigner UI or in the JSON data does not change anything (only if you increase it beyond the calculated value - which is the opposite of what is needed).
Steps to reproduce
Now only the first 3 columns are visible while the gap between each radio button is incredibly large.
Expected behavior
The columns should automatically be compressed to a width that allows all columns to be visible.
Screenshots

Observed:
There are 5 columns defined but only 3 are visible because of the large gap between them.
Expected:

All 5 columns should be visible because they can easily fit on the screen.
CSS in Firefox Dev-Tools:

Researching in my browser's dev tools shows that the following CSS property is causing the problem:
Please complete the following information:
Additional context
This is not just a Designer UI problem, the result stays the same if I include the produced JSON in my own webpage.
Webpage HTML for reference:
The text was updated successfully, but these errors were encountered: