Adjust combobox to fit a dimension label length.

This commit is contained in:
Roman Telezhynskyi 2022-02-12 17:42:32 +02:00
parent 7c55596052
commit baa107d12f
2 changed files with 2 additions and 0 deletions

View File

@ -36,6 +36,7 @@
- New measurement type separator.
- Improve creation by mouse for tool Spline.
- Fix incorrect translation of known measurements.
- Adjust combobox to fit a dimension label length.
# Valentina 0.7.49 July 1, 2021
- Fix crash.

View File

@ -2889,6 +2889,7 @@ void TMainWindow::InitDimensionControls()
if (control == nullptr)
{
control = new QComboBox;
control->setSizeAdjustPolicy(QComboBox::AdjustToContents);
}
InitDimensionGradation(index, dimension, control);