I\'m trying to adjust my window height to the lesser resolution screen. Due to design of the project, this window is called from the ViewModel (though its content is written in