[Solved]How to avoid Gap/Space between my custom widgets ?
-
wrote on 14 May 2012, 14:25 last edited by
Aah ok, sorry for the misunderstanding.
Something like this: "QSpacerItem":http://qt-project.org/doc/qt-4.8/qspaceritem.html
I didn't really looked into it. I'm using the graphical designer do achieve this.
Hopes this works out for you.
-
wrote on 15 May 2012, 06:58 last edited by
Woody,
I checked QSpacerItem,there is no need for using this class, spacing can be acheived by calling the method setSpacing().So i already tried setSpacing(),this also not works.
-
wrote on 15 May 2012, 07:03 last edited by
Mmh that is strange. You probably set a layout to the parent widget?
Is it possible to provide the code, so I can have a better look?
-
wrote on 15 May 2012, 07:23 last edited by
Sweeten, Try the combination of spacer in VBoxLayout. It works.
-
wrote on 15 May 2012, 08:24 last edited by
I have uploaded my full project . Just run the application and see the Gap between the custom widgets(Section 1,Section 2,Section 3 & Section 4).
Your suggestions are welcome.
"Accordion Test":http://www.4shared.com/zip/rPHyPhdL/AccordionTest.html
-
wrote on 16 May 2012, 06:08 last edited by
Guys any suggestion..
-
wrote on 16 May 2012, 06:18 last edited by
Sorry I can't download it, haven't got an account. Will get it tonight.
-
wrote on 11 Jul 2012, 10:45 last edited by
I have done .Thankyou all for your support.
-
wrote on 12 Jul 2012, 04:51 last edited by
Kindly edit your title and preprend [Solved] to it.
Thanks :)
-
wrote on 12 Jul 2012, 06:44 last edited by
Thank you Sam for your information ,i have edited my title as Solved.