Bar add property for buttons size
(cherry picked from commit c549172956018e20b7dc97081bad3b6587561226)