You are looking for ‘soft tabs’
http://www.geany.org/manual/dev/index.html#editor-indentation-preferences
Edit > Preferences > Editor > Indentation > Type > Spaces
After changing the setting, close and reopen the file.
To apply the tab settings to every document in the current session, also click:
Project->Apply Default.