mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-05-18 19:48:23 -05:00
ColumnDisplayFormatDialog: Adjusts the size of the widget.
This commit is contained in:
@@ -105,6 +105,11 @@ ColumnDisplayFormatDialog::~ColumnDisplayFormatDialog()
|
||||
delete ui;
|
||||
}
|
||||
|
||||
void ColumnDisplayFormatDialog::showEvent(QShowEvent *)
|
||||
{
|
||||
adjustSize();
|
||||
}
|
||||
|
||||
QString ColumnDisplayFormatDialog::selectedDisplayFormat() const
|
||||
{
|
||||
if(ui->comboDisplayFormat->currentData().toString() == "default")
|
||||
|
||||
@@ -25,6 +25,9 @@ public:
|
||||
|
||||
QString selectedDisplayFormat() const;
|
||||
|
||||
protected:
|
||||
void showEvent(QShowEvent *) override;
|
||||
|
||||
private slots:
|
||||
void updateSqlCode();
|
||||
void accept() override;
|
||||
|
||||
Reference in New Issue
Block a user