Ignore:
Timestamp:
Mar 8, 2010, 12:52:58 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.6.2 sources.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/gui/kernel/qformlayout.cpp

    r561 r651  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
     3** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
    44** All rights reserved.
    55** Contact: Nokia Corporation (qt-info@nokia.com)
     
    19261926                    If the field on the right-hand side is tall,
    19271927                    we want the label to be top-aligned, but not too
    1928                     much. So we introduce a 5 / 4 factor so that it
    1929                     gets a few extra pixels at the top.
     1928                    much. So we introduce a 7 / 4 factor so that it
     1929                    gets some extra pixels at the top.
    19301930                */
    19311931                height = qMin(height,
    1932                               qMin(label->sizeHint.height() * 5 / 4,
     1932                              qMin(label->sizeHint.height() * 7 / 4,
    19331933                                   label->maxSize.height()));
    19341934            }
Note: See TracChangeset for help on using the changeset viewer.