Adjust combobox to fit a dimension label length.
This commit is contained in:
parent
7c55596052
commit
baa107d12f
|
@ -36,6 +36,7 @@
|
||||||
- New measurement type separator.
|
- New measurement type separator.
|
||||||
- Improve creation by mouse for tool Spline.
|
- Improve creation by mouse for tool Spline.
|
||||||
- Fix incorrect translation of known measurements.
|
- Fix incorrect translation of known measurements.
|
||||||
|
- Adjust combobox to fit a dimension label length.
|
||||||
|
|
||||||
# Valentina 0.7.49 July 1, 2021
|
# Valentina 0.7.49 July 1, 2021
|
||||||
- Fix crash.
|
- Fix crash.
|
||||||
|
|
|
@ -2889,6 +2889,7 @@ void TMainWindow::InitDimensionControls()
|
||||||
if (control == nullptr)
|
if (control == nullptr)
|
||||||
{
|
{
|
||||||
control = new QComboBox;
|
control = new QComboBox;
|
||||||
|
control->setSizeAdjustPolicy(QComboBox::AdjustToContents);
|
||||||
}
|
}
|
||||||
|
|
||||||
InitDimensionGradation(index, dimension, control);
|
InitDimensionGradation(index, dimension, control);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user