You want the scroll widget to only grow in width, or its content widget? Either way, did you try just setting a size policy on it with the vertical set to fixed? Or simply setting a fixed height value? Can you show a code sample if I am off track?
On Nov 8, 2012, at 6:13 PM, Jay Goodman <[email protected]> wrote: > I feel like I am missing the obvious here. I set up a QScrollArea, but I > wanted the widget to only extend in a single direction. I had this widget > inside a splitter, so my solution was to overload the ResizeEvent of the > window, and connect the splitter moved event to a method that would set the > width of the Widget in the scroll area. This works, but it just seems hacky? > Has anyone dabbled in this area and gone with a different approach? > thanks > -- > view archives: http://groups.google.com/group/python_inside_maya > change your subscription settings: > http://groups.google.com/group/python_inside_maya/subscribe -- view archives: http://groups.google.com/group/python_inside_maya change your subscription settings: http://groups.google.com/group/python_inside_maya/subscribe
