Slightly reduced size of buttons in container to filter chart lines.
This commit is contained in:
parent
a0226f9789
commit
83cf12b475
|
@ -57,7 +57,7 @@ ChartLinesFilterWidget::FlatCheckbox::FlatCheckbox(
|
||||||
: Ui::AbstractButton(parent)
|
: Ui::AbstractButton(parent)
|
||||||
, _activeColor(activeColor)
|
, _activeColor(activeColor)
|
||||||
, _inactiveColor(st::boxBg->c)
|
, _inactiveColor(st::boxBg->c)
|
||||||
, _text(st::defaultTextStyle, text) {
|
, _text(st::statisticsDetailsBottomCaptionStyle, text) {
|
||||||
const auto &margins = st::statisticsChartFlatCheckboxMargins;
|
const auto &margins = st::statisticsChartFlatCheckboxMargins;
|
||||||
const auto h = _text.minHeight() + rect::m::sum::v(margins) * 2;
|
const auto h = _text.minHeight() + rect::m::sum::v(margins) * 2;
|
||||||
resize(
|
resize(
|
||||||
|
|
|
@ -33,7 +33,7 @@ statisticsChartBottomCaptionMaxWidth: 44px;
|
||||||
statisticsChartFooterSkip: 10px;
|
statisticsChartFooterSkip: 10px;
|
||||||
statisticsChartFooterHeight: 52px;
|
statisticsChartFooterHeight: 52px;
|
||||||
|
|
||||||
statisticsChartFlatCheckboxMargins: margins(6px, 4px, 6px, 4px);
|
statisticsChartFlatCheckboxMargins: margins(4px, 4px, 4px, 4px);
|
||||||
statisticsChartFlatCheckboxCheckWidth: 4px;
|
statisticsChartFlatCheckboxCheckWidth: 4px;
|
||||||
|
|
||||||
statisticsDetailsPopupHeaderStyle: TextStyle(defaultTextStyle) {
|
statisticsDetailsPopupHeaderStyle: TextStyle(defaultTextStyle) {
|
||||||
|
|
Loading…
Reference in New Issue