Magic numbers.

This commit is contained in:
Teo Mrnjavac 2015-12-11 17:11:55 +01:00
parent a27a5496b7
commit 9b60040bab

View File

@ -36,7 +36,7 @@
static const int VIEW_HEIGHT = CalamaresUtils::defaultFontHeight() + 8;
static const int CORNER_RADIUS = 3;
static const int EXTENDED_PARTITION_MARGIN = qMax( 4, VIEW_HEIGHT / 6 );
static const int SELECTION_MARGIN = ( EXTENDED_PARTITION_MARGIN - 2 ) / 2;
static const int SELECTION_MARGIN = EXTENDED_PARTITION_MARGIN / 2 - 1;
PartitionBarsView::PartitionBarsView( QWidget* parent )