Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
i want to add a strech to make the two button on the toolbar separate widely, one on the Left edge, and the other on the Right edge. but i just find one API addSeparator, is there any way to do this? thank you
Hi,
You could try inserting a "spacer" widget between your actions. The widget should have an expanding horizontal size policy.
Hope it helps
QSpacerItem? it's not a widget, and can't use addWidget()
No, not a QSpacerItem, a standard QWidget with the size policy set as described