mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-02 10:24:11 +01:00
OP-1182 tried to make device list combo box wide enough to display "USB: OPLinkMini" on all OSes
This commit is contained in:
parent
ff6c5e80a0
commit
3ce504ac6e
@ -50,8 +50,7 @@ ConnectionManager::ConnectionManager(Internal::MainWindow *mainWindow) :
|
|||||||
{
|
{
|
||||||
// device list
|
// device list
|
||||||
m_availableDevList = new QComboBox;
|
m_availableDevList = new QComboBox;
|
||||||
m_availableDevList->setMinimumWidth(120);
|
m_availableDevList->setMinimumContentsLength(tr("USB: OPLinkMini").length());
|
||||||
m_availableDevList->setMaximumWidth(180);
|
|
||||||
m_availableDevList->setContextMenuPolicy(Qt::CustomContextMenu);
|
m_availableDevList->setContextMenuPolicy(Qt::CustomContextMenu);
|
||||||
|
|
||||||
// connect button
|
// connect button
|
||||||
|
Loading…
Reference in New Issue
Block a user