QT: Set layout edge

* = HorizontalLayout a QHBoxLayout groups the new new a QHBoxLayout groups the;
 // setContentsMargins (int left, int Top, int right, int bottom)
 // set the vertical and horizontal margins are 0 
horizontalLayout-> setContentsMargins ( 0 , 0 , 0 , 0 );

 

Guess you like

Origin www.cnblogs.com/2018shawn/p/11429221.html