I’ll do it like Steve this time
the docs say…
“The dimenstion of the widget, Pt_ARG_DIM, is the overall size of the
widget, including its borders”
“The extent of a widget is a rectangle defined by the widget’s position and
This is in Programmers Guide/Introduction.
Probably the “2 pixels” returned of your empty labels is the border or
“Augie Henriques” <email@example.com> wrote in message
Does the extent computed by PtWidgetExtent(widget, &extent) include the
widget dimensions plus border and margins?
For one of my PtLabel widget layout, I have to figure out first which
takes up the most space and then create them in the correct place with the
correct size (largest size). For some reason there is just a little text
(about 2 pixels) not visible inside the some of the PtLabel widgets. Any