Magic numbers.
This commit is contained in:
parent
a27a5496b7
commit
9b60040bab
@ -36,7 +36,7 @@
|
|||||||
static const int VIEW_HEIGHT = CalamaresUtils::defaultFontHeight() + 8;
|
static const int VIEW_HEIGHT = CalamaresUtils::defaultFontHeight() + 8;
|
||||||
static const int CORNER_RADIUS = 3;
|
static const int CORNER_RADIUS = 3;
|
||||||
static const int EXTENDED_PARTITION_MARGIN = qMax( 4, VIEW_HEIGHT / 6 );
|
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 )
|
PartitionBarsView::PartitionBarsView( QWidget* parent )
|
||||||
|
Loading…
Reference in New Issue
Block a user