Qt中空间的长宽是指盒子模型中border盒子的长宽,不包含margin外沿。
从官方文档的如下语句可以看出来:
A background-image does not scale with the size of the widget. To provide a "skin" or background that scales along with the widget size, one must use border-image.
Qt中空间的长宽是指盒子模型中border盒子的长宽,不包含margin外沿。
从官方文档的如下语句可以看出来:
A background-image does not scale with the size of the widget. To provide a "skin" or background that scales along with the widget size, one must use border-image.