libMediaProvider problem
Hey there,
Is libMediaProvider still working with current version of the game? I changed an addon (CraftingMaterialLevelDisplay), added the libMediaProver library and some LAM 2.0 settings to choose a font family, font size, font color and font style. From the information I've found (I think it was Garkin again who had explained the usage of the fontString in a forum thread) I've build a font string and updated the controls in the inventory with the new font information: Lua Code:
The library is correctly included and working as the LAM menu shows the dropdown box entries correctly and stores it correctly into the SavedVariables. My Problem now is: The controls inside the inventory (normally shown right to the name of the item) won#t be shown anymore :-( I can ZGOO them and the color was updated corretly. But they are not there. Even if I :SetHidden(false) they are still not shown. Seems as if the dimensions were set to 0 or something like this. Any ideas why the controls are not shown anymore? The original addon simply uses ZoFontGame as the font (labelcontrol:SetFont("ZoFontGame")) and this works, but I'm not able to change the size of the font and that annoys me :) Thx for the help. |
On line 5, use your fontPath variable instead of CraftingMaterialLevelDisplay.savedVariables.font.family. You're passing through the name of the font instead of the file path for the game to use.
|
Damn, I knew it was a silly simple one...
Thx for 2 more eyes :eek: I shouldn't code anymore after 10pm ^^ |
Quote:
|
Quote:
|
I only got the time to code after work and friends, so 10pm is my starting time in many cases :-(
|
All times are GMT -6. The time now is 03:26 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI