frame: Convert to gadgets
As part of this conversion, remove the hardcoded padding around the label. Unfortunately, we cannot use the main gadget for drawing the frame decoration, since we want to draw a custom border instead of the stock css border that gadgets insist on drawing for us. Therefore, add an extra gadget with name border and use it just for rendering the frame.
Showing with 306 additions and 238 deletions