mirror of
https://github.com/Dark98/threeSD.git
synced 2026-07-03 08:39:04 +00:00
UI fixes
This commit is contained in:
@@ -27,7 +27,8 @@ void DPIAwareDialog::showEvent(QShowEvent* event) {
|
||||
#ifdef __APPLE__
|
||||
// Note: macOS implements system level virtualization, so there's no need to connect here.
|
||||
// but we still need to call SetContentSizes() at least once to set up the UI
|
||||
resize(original_width, original_height);
|
||||
// macOS style has more padding. Make the dialog larger for compensation.
|
||||
resize(original_width * 1.25, original_height * 1.25);
|
||||
SetContentSizes();
|
||||
#else
|
||||
resized = false;
|
||||
|
||||
@@ -460,6 +460,7 @@ void ImportDialog::RepopulateContent() {
|
||||
|
||||
ui->main->setSortingEnabled(true);
|
||||
connect(ui->main, &QTreeWidget::itemChanged, this, &ImportDialog::OnItemChanged);
|
||||
UpdateSizeDisplay();
|
||||
}
|
||||
|
||||
void ImportDialog::UpdateSizeDisplay() {
|
||||
|
||||
Reference in New Issue
Block a user