X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fchatline.cpp;h=5213be8a9dd84c3186b805877dbb6183c3436b6d;hp=4e03f064bcb98ef5c0f116a40457d6427c4fe271;hb=5cb0dfcd0cb0d5ee49fc4ca0de6c0116134326a7;hpb=fd90abd3f3baa4fc98fa7e3df0e22e9bd3d77d95 diff --git a/src/qtui/chatline.cpp b/src/qtui/chatline.cpp index 4e03f064..5213be8a 100644 --- a/src/qtui/chatline.cpp +++ b/src/qtui/chatline.cpp @@ -71,9 +71,9 @@ qreal ChatLine::setGeometry(qreal width, qreal firstHandlePos, qreal secondHandl qreal firstsep = QtUi::style()->firstColumnSeparator()/2; qreal secondsep = QtUi::style()->secondColumnSeparator()/2; - _timestampItem.setWidth(firstHandlePos - firstsep); - _senderItem.setWidth(secondHandlePos - firstHandlePos - (firstsep+secondsep)); - _height = _contentsItem.setWidth(width - secondHandlePos - secondsep); + _height = _contentsItem.setGeometry(width - secondHandlePos - secondsep); + _timestampItem.setGeometry(firstHandlePos - firstsep, _height); + _senderItem.setGeometry(secondHandlePos - firstHandlePos - (firstsep+secondsep), _height); _senderItem.setPos(firstHandlePos + firstsep, 0); _contentsItem.setPos(secondHandlePos + secondsep, 0);