Adjust the MIDI setup dialog

Adjust the MIDI setup dialog:
* Show it in a QGroupBox
* Make it use a `QFormLayout` to layout the label and line edit.

Remove the hard coded height.
This commit is contained in:
Michael Gregorius
2023-07-22 23:03:31 +02:00
parent b53290344b
commit 345886954e
3 changed files with 8 additions and 10 deletions

View File

@@ -25,7 +25,7 @@
#ifndef LMMS_GUI_MIDI_SETUP_WIDGET_H
#define LMMS_GUI_MIDI_SETUP_WIDGET_H
#include "TabWidget.h"
#include <QGroupBox>
class QLineEdit;
@@ -33,7 +33,7 @@ namespace lmms::gui
{
class MidiSetupWidget : public TabWidget
class MidiSetupWidget : public QGroupBox
{
Q_OBJECT
MidiSetupWidget( const QString & caption, const QString & configSection,