Hi Neil, For changing the length of the widget to take into account the number of projects attached to, I think the following coding might be a bit more efficient than what I suggested earlier: buildStats(); //Code added to change height of widget depending on no of projects attached to. main_window ...