Setting widget frame template