Skip to content
This repository has been archived by the owner on Apr 2, 2019. It is now read-only.

Dynamic Chatbox

rocketman10404 edited this page Oct 9, 2013 · 4 revisions

TabbyChat augments the vanilla Minecraft chatbox by allowing the user to drag it around the screen and/or resize it when a click-and-drag event occurs in an appropriate area.

TabbyChat's chatbox display

####Chatbox Organization


Chatbox organization and behavior depends on which of two operating modes it is currently in - Normal and Inverted. In the normal mode, the main chat area is positioned in the lower-left, and new chat messages are inserted at the bottom with old messages shifted upwards. Above the main chat area is the tab tray, where all the tab buttons are drawn. To the right of the chat area is the scroll bar, and above that is the resize handle and 'pin' button.

In the Inverted mode, everything is flipped vertically. The chat area is now in the upper-left, with the tab tray below it, and the resize handle and pin button in the lower-right corner. New chat messages are inserted at the top of the chat area, with older messages shifted downwards.

####Mouse interaction


To drag the chatbox around the screen (thus changing its location), left-click anywhere in the tab tray area (including on tabs themselves) and move the mouse while holding the left mouse button down.

To resize the chatbox, left-click on the resize handle and move the mouse while holding the left mouse button down, changing the chatbox's size. Note that previous chat messages, which may have been previously split to remain inside the available chatbox width, will NOT change in length - only newly-received messages will be affected by a change in chatbox width.

Apart from changing chatbox size and location through mouse interaction, TabbyChat will automatically change the chatbox size if necessary to keep its edges within the available display size.

Lastly, click the 'pin' button to pin the chat interface open - this keeps the chat input box displayed and active after sending a chat message.

####Interactive scrollbar


The user can still scroll back through previous chat messages as they could in vanilla - by using the scroll wheel (optionally holding Shift while scrolling to reduce scrolling speed), or by the PageUp/PageDown keys. A small scrollbar is displayed in the scroll area to the right of the chat area indicating how far back the user is currently viewing.

Additionally, the user can click anywhere in the scroll area to set the scroll bar position, which in turn will set the viewable chat to that point in the chat history. Alternatively, the user can click on the scroll bar itself and drag the mouse up/down to go backwards/forwards through the chat history. This behavior may flip vertically for Inverted mode as well.

####Additional notes


The size and location of the chatbox is stored alongside the Advanced settings, and will be re-applied the next time TabbyChat is loaded. If, for some reason, the chatbox display becomes problematic (inaccessible off-screen), these settings can be changed inside that settings file, or the settings file can be deleted altogether to revert back to the defaults.

The 'Unfocused Height' setting in the Advanced settings menu defines the percentage of the Focused chatbox height to use as the maximum height of the Unfocused chatbox. 'Focused' refers to the full chatbox displayed while the chat interface and input area are active, usually achieved by hitting or </>, and 'Unfocused' refers to all other times, such as normal gameplay, when only the more-recent chat messages are displayed. When unfocused, the chatbox will contain recent chat messages which eventually fade away. However, if many new messages are received at once, only those that will fit within the 'Unfocused Height' setting will be displayed.

Clone this wiki locally