NOT FINISHED: Reimplement set widget size to support groups.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>