소스 검색

优化控件距离;

scbc.sat2 5 년 전
부모
커밋
5aa77a3ed2
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      VideoCapture/VideoCapture/IRControlWnd.cpp

+ 1 - 1
VideoCapture/VideoCapture/IRControlWnd.cpp

@@ -488,7 +488,7 @@ void CIRControlWnd::Loadlayout(std::vector<BtnInfo>& vt)
 		}
 	}
 
-	int sx = 0, sy = 65;
+	int sx = 0, sy = m_nComboHeight*2+15;
 	int i = 0, id = 10000;
 	DWORD dwStyle = WS_CHILD | WS_VISIBLE;
 	for (std::vector<BtnInfo>::iterator it = vt.begin(); it != vt.end(); it++)