Closed MartinPacker closed 3 years ago
getTitleRect()
isn't really necessary as code-in-progress formatTitle()
returns 0.1 inches below the bottom of the title, in addition to the title shape.
getContentRect
ended up with different parameters but was successfully used in cleaning up layout code.
Shipped in 1.9.1.
Right now it's a little haphazard. But functions to return rectangles would be good. Something like
titleRect = getTitleRect()
and
contentRect = getContentRect(titleRect)
In the latter case passing in None for titleRect sizes the content as if there were not title.