settings: fix calculation for SCROLLBAR_WIDTH ...

to work with subtractions too


Origin commit data
------------------
Branch: ni/coolstream
Commit: 8bfee0b7dc
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-04-12 (Wed, 12 Apr 2017)

Origin message was:
------------------
- settings: fix calculation for SCROLLBAR_WIDTH ...

to work with subtractions too


------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2017-04-12 13:28:54 +02:00
parent 09237ad821
commit 93bdb67b0c

View File

@@ -920,7 +920,7 @@ const time_settings_struct_t timing_setting[SNeutrinoSettings::TIMING_SETTING_CO
#define OFFSET_INNER_MIN 2
#define OFFSET_INNER_NONE 0
#define SCROLLBAR_WIDTH OFFSET_INNER_MID + 2*OFFSET_INNER_MIN
#define SCROLLBAR_WIDTH (OFFSET_INNER_MID + 2*OFFSET_INNER_MIN)
#define DETAILSLINE_WIDTH 16 // TODO: scale2Res() ?