From 3c101b0a50e2c4301c7e5b10f5beeb183f99b9b3 Mon Sep 17 00:00:00 2001 From: John Preston Date: Tue, 12 Dec 2017 14:38:59 +0400 Subject: [PATCH] Remove limit on chats list width. Fixes #4146. --- Telegram/SourceFiles/window/window_controller.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/window/window_controller.cpp b/Telegram/SourceFiles/window/window_controller.cpp index 2255dd227..1323a0491 100644 --- a/Telegram/SourceFiles/window/window_controller.cpp +++ b/Telegram/SourceFiles/window/window_controller.cpp @@ -130,7 +130,7 @@ Controller::ColumnLayout Controller::computeColumnLayout() const { int Controller::countDialogsWidthFromRatio(int bodyWidth) const { auto result = qRound(bodyWidth * Auth().data().dialogsWidthRatio()); accumulate_max(result, st::columnMinimalWidthLeft); - accumulate_min(result, st::columnMaximalWidthLeft); +// accumulate_min(result, st::columnMaximalWidthLeft); return result; }