Resizes the panel object's width to accommodate all child objects/contents.
You must call this function AFTER setting text/font or adjusting child panels.
1 number addVal = 0
The number of extra pixels to add to the width. Can be a negative number, to reduce the width.