[smuxi] Frontned-GNOME: use 1/7 as chat and user list width and 5/7 for messages
- From: Mirco M. M. Bauer <mmmbauer src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [smuxi] Frontned-GNOME: use 1/7 as chat and user list width and 5/7 for messages
- Date: Thu, 22 May 2014 17:19:11 +0000 (UTC)
commit 1a48de441d7a0165eb38cf9b44f4d0bb260a2841
Author: Mirco Bauer <meebey meebey net>
Date: Thu May 22 19:17:35 2014 +0200
Frontned-GNOME: use 1/7 as chat and user list width and 5/7 for messages
src/Frontend-GNOME/MainWindow.cs | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/Frontend-GNOME/MainWindow.cs b/src/Frontend-GNOME/MainWindow.cs
index f8ef746..4b87274 100644
--- a/src/Frontend-GNOME/MainWindow.cs
+++ b/src/Frontend-GNOME/MainWindow.cs
@@ -605,7 +605,7 @@ namespace Smuxi.Frontend.Gnome
}
UpdateTitle(groupChatView, null);
};
- groupChatView.OutputHPaned.Position = (WindowWidth / 6) * 4;
+ groupChatView.OutputHPaned.Position = (WindowWidth / 7) * 5;
}
UpdateProgressBar();
}
@@ -654,13 +654,13 @@ namespace Smuxi.Frontend.Gnome
void CheckLayout()
{
- TreeViewHPaned.Position = WindowWidth / 6;
+ TreeViewHPaned.Position = WindowWidth / 7;
foreach (var chat in ChatViewManager.Chats) {
if (!(chat is GroupChatView)) {
continue;
}
var groupChat = (GroupChatView) chat;
- groupChat.OutputHPaned.Position = (WindowWidth / 6) * 4;
+ groupChat.OutputHPaned.Position = (WindowWidth / 7) * 5;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]