阅读背景:

Qt - QPushButton图标边距需要保持不变

来源:互联网 

I create a set of buttons using the function below with text, buttonName, that can change in width. The icon that appears when I click one of the buttons then justfies itself based on the width of the text; how do I make the icon stay the same margin from the right of the button regardless of text? Don't say custom delegate, because I haven't been able to figure out how to implement that!I create a set of buttons using the function be




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: