ui: reg: increase whitespace before change amount
This commit is contained in:
parent
cec9b7cae9
commit
055d820ec7
@ -109,7 +109,7 @@ drawRegisterScreen2 AppState{aopts=_opts, aScreen=RegisterScreen2{rs2State=l}} =
|
|||||||
-- they need, while reserving a minimum of space for other
|
-- they need, while reserving a minimum of space for other
|
||||||
-- columns and whitespace. If they don't get all they need,
|
-- columns and whitespace. If they don't get all they need,
|
||||||
-- allocate it to them proportionally to their maximum widths.
|
-- allocate it to them proportionally to their maximum widths.
|
||||||
whitespacewidth = 9 -- inter-column whitespace, fixed width
|
whitespacewidth = 10 -- inter-column whitespace, fixed width
|
||||||
minnonamtcolswidth = datewidth + 2 + 2 -- date column plus at least 2 for desc and accts
|
minnonamtcolswidth = datewidth + 2 + 2 -- date column plus at least 2 for desc and accts
|
||||||
maxamtswidth = max 0 (totalwidth - minnonamtcolswidth - whitespacewidth)
|
maxamtswidth = max 0 (totalwidth - minnonamtcolswidth - whitespacewidth)
|
||||||
maxchangewidthseen = maximum' $ map (length . fourth5) displayitems
|
maxchangewidthseen = maximum' $ map (length . fourth5) displayitems
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user