[Qt-interest] Setting all columns of a QHBoxLayout to have the same width

Brad Howes howes at ll.mit.edu
Thu Aug 12 17:01:39 CEST 2010


On Aug 11, 2010, at 3:42 PM, Felipe Sodré Silva wrote:

> I'm wondering if there is an easy way to have all columns of a QHBoxLayout to have the same width (the width of the largest element in it), but couldn't find anything so far. Do you guys have any idea on how to do this? 


Use QGridLayout instead, with just one row.

Brad

-- 
Brad Howes
Group 42
MIT Lincoln Laboratory • 244 Wood St. • Lexington, MA 02173
Phone: 781.981.5292 • Fax: 781.981.3495 • Secretary: 781.981.7420









More information about the Qt-interest-old mailing list