Indentation is set to 4 spaces

whereas when i open the same file in vim the spacing and indentation shows in a different (and more pleasant way)

I dont think codelite showed text like this when i started using it, i've searched through settings without finding out how to change it, probably overlooked something silly...
Hope someone can help!