S sorex Expert Licensed User Longtime User Mar 1, 2016 #1 Hello, Can anyone give an example on how to use .resizeToFit and/or AdjustFontSizeToFit ? If I use it or not I'm not seeing much difference and the dot of a letter i is still cut in half. Or do I need to apply them in a specific order to make it work? I try this on a code generate label tho.
Hello, Can anyone give an example on how to use .resizeToFit and/or AdjustFontSizeToFit ? If I use it or not I'm not seeing much difference and the dot of a letter i is still cut in half. Or do I need to apply them in a specific order to make it work? I try this on a code generate label tho.
Erel B4X founder Staff member Licensed User Longtime User Mar 2, 2016 #2 You should only use one of them. AdjustFontSizeToFit will change the font until the text fits. ResizeToFit will change the label's size based on the content. Upvote 0
You should only use one of them. AdjustFontSizeToFit will change the font until the text fits. ResizeToFit will change the label's size based on the content.
S sorex Expert Licensed User Longtime User Mar 2, 2016 #3 Yes, I read about that in another post that it's resizing the labels. So I only want AdjustFontSizeToFit to work. I currently oversized the label to make it fit as it is just a single line of text. Upvote 0
Yes, I read about that in another post that it's resizing the labels. So I only want AdjustFontSizeToFit to work. I currently oversized the label to make it fit as it is just a single line of text.