Adjusts legend layout
Usually you don't need to call this method. The default implementation loops over legend entries and sets their offsets from the left-top legend corner.