Add method to obtain the width of the Window title text