EDN Admin
Well-known member
need some serious help. ive tried all kinds of things to no avail. this is my form after user input:
http://www.keepitfishy.com/rb3/lefluffieforrb3f.jpg
my problem is the following: I need to either auto scale the font size for the Artist and Song name fields, or just draw a string instead of assigning text to the label in the same place.
I need to be able to shrink the name of the artist or the song so it always fits within the confines of the template. all the auto scale samples for the label font size ive seen are horrible, only working sometimes, somehow not resizing with some words, resizing with others.
I think the final look would be better if i could draw the string instead, but I ran into a problem when I tried it:
as the user types in the information (or is filled out automatically by the program) on top, it needs to update on the image field., when drawing, it just draws over and over, and since the size keeps getting smaller, its not writing exactly over it, but smaller and smaller versions of the text, so you end up with a mess.
drawing.clear() doesnt work, requires a color. drawing.clear(transparent) gives me a black square. I cant use a solid color because the image has a gradient.
im ready to release this to my gaming community as soon as this one issue is figured out. can you please help me? I dont need my hand held too much, as im good at Googling my way out of problems, so just point me in the right direction.
thanks!
View the full article
http://www.keepitfishy.com/rb3/lefluffieforrb3f.jpg
my problem is the following: I need to either auto scale the font size for the Artist and Song name fields, or just draw a string instead of assigning text to the label in the same place.
I need to be able to shrink the name of the artist or the song so it always fits within the confines of the template. all the auto scale samples for the label font size ive seen are horrible, only working sometimes, somehow not resizing with some words, resizing with others.
I think the final look would be better if i could draw the string instead, but I ran into a problem when I tried it:
as the user types in the information (or is filled out automatically by the program) on top, it needs to update on the image field., when drawing, it just draws over and over, and since the size keeps getting smaller, its not writing exactly over it, but smaller and smaller versions of the text, so you end up with a mess.
drawing.clear() doesnt work, requires a color. drawing.clear(transparent) gives me a black square. I cant use a solid color because the image has a gradient.
im ready to release this to my gaming community as soon as this one issue is figured out. can you please help me? I dont need my hand held too much, as im good at Googling my way out of problems, so just point me in the right direction.
thanks!
View the full article