Sample code to display widget size in a widget.