mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-28 19:55:48 +03:00
Мессенджер рефакт еще
This commit is contained in:
@@ -91,7 +91,7 @@ void MsgWidget::on_editText_textChanged()
|
||||
if(textRect.width() > widthEdit)
|
||||
{//Не помещается в одну строку
|
||||
|
||||
textRect = metricsFont.boundingRect(QRect(0, 0, widthEdit, 1000), 0, text);
|
||||
textRect = metricsFont.boundingRect(QRect(0, 0, widthEdit, 1000), Qt::TextWordWrap, text);
|
||||
|
||||
if(textRect.width() > widthEdit)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user