widget support MaxSize