Closed eukreign closed 9 years ago
@me4oslav can I have your blessings on this UI change? See the moved entry from bottom to next to the chat list.
@eukreign @meebey If we're gong what that "input box belongs to the chat pane", than why does it extend below the users sidebar too? I think it should extend to the chat pane and that's all.
That is because the user list belongs to the notebook not window.. Changing that will require a big code refactor.
The entry always was a single entry (not per chat)
Just to clarify the main impetus for this change is to line up where the conversation is happening along with where the input happens. As I'm typing a new message I would like to see the ongoing conversation directly above.
It's not so much about what belongs to what. But... this change is definitely only for Left-to-Right languages. For a Right-to-Left language you'd probably have to get the input box to not go past the user list as @me4oslav suggests.
Does smuxi currently even support RTL languages or are there plans to? If not, then I think having the input box go past the user list (as it is in this pull request) is actually nicer because then there is more room for input (a more common use case is entering text as opposed to viewing/scrolling through user list).
Since this is progress towards the better/right thing, I am merging this. I have no idea how to allow alignment of the TreeView since it is inside a Notebook. Using a single TreeView instnace across different chats will lead to issues with different protocols (since they extend the TreeView functionality).
It's really awkward to have the input box extend all the way to the left below the room/chat tabs. It's more intuitive to have the input right below where your text will display in the chatroom.
This pull request causes the input box to line up with the chat window.