uavos / apx-gcs

APX Ground Control
GNU Lesser General Public License v3.0
13 stars 12 forks source link

Fact and long string problem #4

Closed smarttowel closed 3 years ago

smarttowel commented 3 years ago

I have Fact with Enum type and several long strings. Some UI problems on the screenshot below. What about ElideRight by default?

image

uavinda commented 3 years ago

ComboBox elide option is not available in QtQuick.Controls 2. Although, I've optimized value positioning through anchors. BTW, it is better to avoid using of such long strings in enums and values, to keep the UI clean and easy for UAV operator.

smarttowel commented 3 years ago

Maybe, it's can be done with https://doc.qt.io/qt-5/qtquickcontrols2-customize.html#customizing-combobox?