Prat 3.0

Prat 3.0

26M Downloads

[Feature] Text Justification

Rycia opened this issue ยท 1 comments

commented

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Not really; it's a blatant feature request.
Currently, there's a feature missing from Prat; text justification. It's easy to implement.

Describe the solution you'd like
A clear and concise description of what you want to happen.

Make a setting module for text justification.
The code is simple and is as so below:
ChatFrame4:SetJustifyH("RIGHT")
ChatFrame4:SetJustifyH("LEFT")
By default, SetJusifyH is already "LEFT", but it can be made "RIGHT" per chat frame. "4" can be "X", where "X" is any chat frame number.
This only needs to be ran once on setting changes and addon loading.

This is useful for creating a chat tab for loot, tradeskill, ect, and putting a chat tab generally on the right side of the screen.

Should also implement a way to also reverse the formatting of the chat that is right justified, eg. flip [Time] [Channel] Name - Text to Text - Name [Channel] [Time]

It's really one line of code and something essential that I find prat lacking.

commented

Closed, figured out it already exists in Paragraph.