PDA

View Full Version : Layout trouble



td
22nd September 2008, 14:46
Hey,

Just starting out with QT designer and it's all going well so far (mostly). Developed a simple application consisiting of a few spinboxes and sliders connected togther, all went well... However when I put a layout on it, the slider isn't responsive nor is the spinbox to mouse events (you can type a value in the spinboxes though). Am I missing something here? Why is this happening?

Thanks.

jpn
22nd September 2008, 17:18
Could you attach the .ui file?

td
23rd September 2008, 11:32
Hey jpn,

It's attached. At the moment, there's only one (vertical) layout in affect encompassing all the items, and none of them are accessible. Thanks

jpn
23rd September 2008, 11:51
Your sliders and spin boxes are not in the layout. The layout is a "floating layout" and your widgets are behind it. Delete the layout, deselect all children, open up a context menu over the background of the form, and select a grid layout. That's probably what you meant.

td
23rd September 2008, 11:57
:o Thanks very much! Works fine!