the order in which we add widgets is important. Adding by row instead of by column fixes the "jumping around" of the palette buttons.