[Qt-interest] How to change the default value for layoutSpacing in Designer?
Pritam Ghanghas
pritam_ghanghas at infosys.com
Thu May 12 16:35:50 CEST 2011
Hi Robert,
Take a look at QStyle::pixelMetric() in particular
QStyle::PM_LayoutHorizontalSpacing.
--
Pritam
On Thu, 2011-05-12 at 15:32 +0530, Robert Hairgrove wrote:
> The default value for layoutSpacing of layouts is 6, but when designing
> some forms which have a lot of controls and layouts, this ends up
> wasting too much screen space. I know that this can be changed on an
> individual basis, but I would like to change the setting globally to 2.
>
> Does anyone know how to do this?
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at qt.nokia.com
> http://lists.qt.nokia.com/mailman/listinfo/qt-interest
**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely
for the use of the addressee(s). If you are not the intended recipient, please
notify the sender by e-mail and delete the original message. Further, you are not
to copy, disclose, or distribute this e-mail or its contents to any other person and
any such actions are unlawful. This e-mail may contain viruses. Infosys has taken
every reasonable precaution to minimize this risk, but is not liable for any damage
you may sustain as a result of any virus in this e-mail. You should carry out your
own virus checks before opening the e-mail or attachment. Infosys reserves the
right to monitor and review the content of all messages sent to or from this e-mail
address. Messages sent to or from this e-mail address may be stored on the
Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***
More information about the Qt-interest-old
mailing list