#877 - Added support for boolean button alignment in low resolutions

(cherry picked from commit cc6ddd31e7e6e7101159f7b92c0d9cdbfe596716)