mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Switch layout to Normal in a wide enough window.
A lot of people didn't know how to bring the dialogs column back after it was gone in a wide single column MainWindow. Now we switch to a two column layout if the window allows it, preserving the emoji / stickers / GIFs section in case it is shown.
This commit is contained in:
@@ -72,6 +72,7 @@ public:
|
||||
Adaptive::WindowLayout windowLayout;
|
||||
};
|
||||
ColumnLayout computeColumnLayout();
|
||||
int dialogsSmallColumnWidth() const;
|
||||
bool provideChatWidth(int requestedWidth);
|
||||
|
||||
base::Variable<float64> &dialogsWidthRatio() {
|
||||
|
Reference in New Issue
Block a user