You need to use set the right anchor of your name fontstring to the left side of your target class and it will truncate automatically. You can also add some padding between them if you want.
name:SetPoint("RIGHT", WhateverYouCalledIt, "LEFT", -5, 0) |
Nah, it doesn't work ;/ The problem still exist. Anyway thanks for reply.
(I am using self-modified oUF_Luna) |
What's your spawn function?
EDIT: See this page on wowwiki for more info about how dimensions from FontStrings can behave. |
Code:
self.Info = self:CreateFontString(nil, self, 'GameFontHighlightSmallLeft') |
Quote:
lua Code:
|
Problem solved! Big thanks.
|
All times are GMT -6. The time now is 03:12 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI