this is quite hard to read condition. I think better one is this (even slighly longer):
```
if UI.TextMode
  add_extra_spacing = addons.size < 5
else
  add_extra_spacing = true
end
```