68 - Line height different from space between objective
If the text from an objective (or questtext etc.) wraps to another line it gets the same spacing as if it was a new objective. I would like to be able to customize this spacing separate from the spacing between new objectives/quest etc.
| User | When | Change |
|---|---|---|
| devevery | Sep 01, 2016 at 09:37 UTC | Create |
- 4 comments
- 4 comments
Facts
- Reported
- Sep 01, 2016
- Status
- New - Issue has not had initial review yet.
- Type
- Enhancement - A change which is intended to better the project in some way
- Priority
- Medium - Normal priority.
- Votes
- 0
- Reply
- #4
devevery Sep 13, 2016 at 14:43 UTC - 0 likesThank you for showing me the trick with the new line. It works for me but without beeing configurable I don't know if it is worth adding a checkbox.
- Reply
- #3
Sorha2 Sep 10, 2016 at 07:23 UTC - 0 likesAh.. sadly it isn't easily doable. Currently a quest button only has 2 text elements in it one for the quest title and the other is the objectives. Because each objective doesn't have its own element I can't tell them to put spaces between neatly.
It isn't ideal but you could perhaps mimic the effect by turning down the font line spacing for objectives, using the quest tabs padding after questa and slightly altering Quests.lua.
In particular right at the bottom of the "SQLQuest:Render()" function (about line 2700 depending on version)
By changing (About line 2900)
strObjectivesReturnText = strObjectivesReturnText .. ObjectiveInstance:Render() .. "\n";
to
strObjectivesReturnText = strObjectivesReturnText .. ObjectiveInstance:Render() .. "\n\n";
you get an extra space after each objective.. sadly though you can't make that space smaller than it is with 0 font line spacing >.<
The other issue is that it would not survive a mod update :(
It is something I would love to be able to do, but I just don't have the time at the moment. It is possible I could add that extra line as an option so it wouldn't be wiped each time if its useful at all.
- Reply
- #2
devevery Sep 09, 2016 at 18:40 UTC - 0 likesSure :) http://imgur.com/a/GScxd I'm using "2002 bold" but i'm pretty sure it's not font related.
I hope it is clearer now? The second screenshot is changed via image editing to demonstrate what I'm thinking of
- Reply
- #1
Sorha2 Sep 09, 2016 at 15:32 UTC - 0 likesHi there, I was wondering if you could get me a picture and the name of the font you are using. I might just be derping and not understanding :(