| Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date | |
| All threads index page 4 | |
Hi all,
changing the framestyle of QFrame the contentsRect does not change but in
case Sunken to Box it should be smaller. Calls of repaint or update do not
help. (QT3.0)
switch (style_t)
{
case Sunken:
face_p->setFrameStyle( QFrame::Panel | QFrame::Sunken );
break;
case Box:
face_p->setFrameStyle( QFrame::Box | QFrame::Sunken );
break;
...
QRect rect = face_p->contentsRect();
...
so long
Mike