Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ilvl not displaying full value when above 2 digits long. #180

Closed
Chanizu opened this issue Jul 15, 2024 · 2 comments
Closed

Ilvl not displaying full value when above 2 digits long. #180

Chanizu opened this issue Jul 15, 2024 · 2 comments

Comments

@Chanizu
Copy link

Chanizu commented Jul 15, 2024

Item level is not displayed fully in the skillet window when it is more than 2 digits long.
ba8fcfa477b7a3bbc9536e2804bbf654

@b-morgan
Copy link
Owner

b-morgan commented Jul 15, 2024

Thank you for posting the full Skillet-Classic frame this time. The issue only occurs when the Grouping is set to Flat.

Please change line 1119 in MainFrame.lua as shown below and let me know if that fixes it.

+++ D:/World of Warcraft/_classic_/Interface/AddOns/Skillet-Classic/UI/MainFrame.lua	Sun Jul 14 16:11:45 2024
@@ -1116,7 +1116,7 @@
 			suffixText:Hide()
 			skillRankBar:Hide()
 			if self.db.profile.display_required_level or self.db.profile.display_item_level then
-				levelText:SetWidth(skill.depth*8+20)
+				levelText:SetWidth(math.max(skill.depth*8+20,28))
 			else
 				levelText:SetWidth(skill.depth*8)
 			end

@Chanizu
Copy link
Author

Chanizu commented Jul 16, 2024

Yep, that change worked. Thank you <3

@Chanizu Chanizu closed this as completed Jul 16, 2024
b-morgan added a commit that referenced this issue Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants