Layout and spacing

Aaron J. Seigo aseigo at kde.org
Sun Mar 7 04:06:35 CET 2010


On March 6, 2010, Cédric Bellegarde wrote:
>         self.__layout.addItem (self.__prevButton)
>         self.__layout.addItem (self.__playButton)
>         self.__layout.addItem (self.__pauseButton)
>         self.__layout.addItem (self.__stopButton)
>         self.__layout.addItem (self.__nextButton)
>         self.__layout.addStretch (1)

addStretch(10) < -- the number matters .. not sure if it's the problem in your 
case, but (1) just means "equal space"

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Development Frameworks


More information about the Plasma-devel mailing list