Resize Window - ImGui::GetWindowWidth() #4739
Locked
PrzemyslawBiernat
announced in
Old/Archived discussions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I have problem with resizing a window. The window is resizing fina with app window but if I want to resize manualy that doesn't work:
So I add ImGui::GetWindowWidth(); and ImGui::GetWindowHeight(); and it works unpredictable. Can anybody help me.
My code:
nvidia::Int UserControls::windowWidth_ = 1280;
nvidia::Int UserControls::windowHeight_ = 720;
nvidia::Int UserControls::defaultWindowWidth_ = 1280;
nvidia::Int UserControls::defaultWindowHeight_ = 720;
float UserControls::slidersWindowWidth = 300;
float UserControls::slidersWindowHeight = 300;
bool UserControls::ShowSliders(bool* isShow, const nvidia::HairWorks::InstanceDescriptor& desc) {
}
Beta Was this translation helpful? Give feedback.
All reactions