diff src/gui/widgets/optional_date.cpp @ 48:e613772f41d5

statistics.cpp: show requests made
author Paper <mrpapersonic@gmail.com>
date Mon, 25 Sep 2023 01:07:22 -0400
parents d8eb763e6661
children 75c804f713b2
line wrap: on
line diff
--- a/src/gui/widgets/optional_date.cpp	Mon Sep 25 00:43:38 2023 -0400
+++ b/src/gui/widgets/optional_date.cpp	Mon Sep 25 01:07:22 2023 -0400
@@ -15,7 +15,7 @@
 	_checkbox->setCheckState(enabled ? Qt::Checked : Qt::Unchecked);
 	_checkbox->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Preferred);
 
-	layout->addWidget(_checkbox);
+	layout->addWidget(_checkbox, 0, Qt::AlignVCenter);
 
 	_dateedit = new QDateEdit(this);
 	_dateedit->setDisplayFormat("yyyy-MM-dd");