Skip to content

Commit b26aa4b

Browse files
committed
better inspector window init size
1 parent 7b1cc52 commit b26aa4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ofxVisualProgramming.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ void ofxVisualProgramming::draw(){
362362
//--------------------------------------------------------------
363363
void ofxVisualProgramming::drawInspector(){
364364

365-
ImGui::SetNextWindowSize(ImVec2(ofGetWindowWidth()/4,ofGetWindowHeight()-(46*scaleFactor)), ImGuiCond_Appearing );
365+
ImGui::SetNextWindowSize(ImVec2(ofGetWindowWidth()/4,ofGetWindowHeight()/2), ImGuiCond_Appearing );
366366
//ImGui::SetNextWindowPos(ImVec2(ofGetWindowWidth()-200,26*scaleFactor), ImGuiCond_Appearing);
367367

368368
ImGui::Begin("Inspector", 0, ImGuiWindowFlags_NoCollapse);

0 commit comments

Comments
 (0)