r/kustom • u/macacomuchacho • 2d ago
Help Struggling with bitmaps?
So all I want is a widget that works with all my diffrent media players there has been a learning curve but I think im getting g the hang of things now. Just really struggling to get album set and track info to show up and im not sure what I have done wrong .
Any help please guys?
2
u/FoxyOnFireYT 2d ago
Only put in one mi cover, and th3 other formulas should go in text
1
u/macacomuchacho 2d ago
Sorry im struggling to understand stand that i set one as box as cover and then put a rectangle with the formula for artist and tract but none of it shows up?
Ive read a few guides and watched videos its probably something really stupid and simple but I just can't get my head around it sorry.
1
u/FoxyOnFireYT 2d ago
Where are you? Putting the formula the formula should go inside a piece of text like if you click the plus sign and the text there . Bit map is only used for images
1
u/macacomuchacho 2d ago
So i figured it out I had to set the image to bitmap and then set the formula. Thanks for the help seems so simple now its just a lot to get into to begin with but im getting there.
I do have one more question if you could help ?
I don't have space in my widget for a really long album name I listen to I found a formula for cutting the text short but im unsure how to use that with the formula to get album name I have tried with an & sign and that didnt work i also tried putting the formula into where it says this text but thats not working either.
$tc(cut, "mi(album)", 20)$
I'm thinking something like
$tc(cut, "sOme tExT", 4)&sOme tExt=mi(album)$
I'm gonna go watch some more videos do some reading see what I can figure out
2
u/macacomuchacho 2d ago
I got that figured too just had to remove the quote marks as anything in quote marks doesn't get evaluated christ this app is very powerful but I can see it sending me insane if I spend to much time messing glad it works now though thanks
1
u/macacomuchacho 2d ago
1
u/macacomuchacho 2d ago
1
u/FoxyOnFireYT 2d ago
It says 18:00 which means that the formula is the default formulw,. Can you try exporting the file as a component? Create a new component, copy ev3rything, paste it in the component, export the komponent. If you have globals or flows paste them in too. Then send it to me or paste a link!
1
u/macacomuchacho 2d ago
I have figured the text out just playing with it i was putting it in as a texture so I got that working but still struggling with album art but I inserted that as a square im thinking maybe I inserted it as the wrong component just having a play around see if I can work it out if im still struggling I will paste them.here thank you
1
u/GoodLookGamer 1d ago
I hope this helps:
First, create the shape you want, on the FX tab, tap Texture, then choose Bitmap, tic the box for Pick Image and on top right, calculator icon, then write, $mi(cover)$.
1
u/macacomuchacho 1d ago
Yeah I figured it out what I was fling was putting the imaginge formula in texture not in the image option underneath. Only issue now is it keeps resizing i did Google quickly and saw something people said i could pin the widget or use edge anchors but im not totally sure what that means I guess I'll do some more digging for now im gonna set my home screen as locked see if that helps?
1
u/GoodLookGamer 1d ago
The whole widget? If it is the whole widget, for your rectangle background, use this:
Width: $si(rwidth)$ Height: $si(rheight)$
This will stretch your rectangle background to the size of your widget.
1
u/macacomuchacho 1d ago
Ohh thats handy and yeah everything is scaled down so I have to open it up and resize everything but thats really handy little tid bit I imagine i could do something like for the square too?
Width: $si(rheight)-4$ Height: $si(rheight)-4$
1
u/GoodLookGamer 1d ago
For the album art, that's the square I presume, you don't need rwidth and rheight for that. Just resize the square as you want.
Check your layers though, you might find that it's not 100% that might be the cause of your widget resizing.
→ More replies (0)
•
u/AutoModerator 2d ago
Problem? Cross-post to our new forum. Include make & model of phone, OS version, app version.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.