Which is correct for instance size

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 855
Благодарностей
1 193
Баллы
113
C#:
instance.SetWindowSize(project.Profile.AvailScreenWidth, project.Profile.AvailScreenHeight);
instance.SetWindowSize(project.Profile.ScreenSizeWidth, project.Profile.ScreenSizeHeight);
This available returns minus x pixels, for height, meaning it's considering taskbar if i understand it right, But then which should i use real screen resolution or this available in that method, to look natural?

There are a couple results
Screen Resolution Available: 1536x816; Screen Real: 1536x864
Screen Resolution Available: 1366x738; Screen Real: 1366x768
 

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)