Qt 控件间隙 2020-03-25 本文已影响0人 Caiaolun 常用HBoxLayout的时候, 发现控件之间有很大的间隙 //不启作用 setCOntentsMargins(0, 0, 0, 0); 发现用 //有效 setSpacing(0);