I use hot glue when needed and go a step further- we've got one of those gel ice packs that's always in the freezer, I found that it works great to instantly set the hot glue so the molding stays flush on the cabinet edge. Just apply hot glue to the slot, press in the t-molding, and then apply pressure with the gel ice pack sliding it along the molding.