Please do not post the same thing multiple times. The board software automatically flags certain posts as needing moderator attention. This happens the most often for new users. I'm pretty sure this is made clear at the time you attempt to post. Posting the same thing over and over again just makes that many more posts the moderators have to weed through later. This makes us sad. Don't make us sad. If your post/thread doesn't appear, just wait a while. Don't post it again. If it hasn't shown up by the next day, then you can try again. I normally go through posts in the mornings, and try to check a few times throughout the day, but I'm not here 24/7. There will typically be a significant delay before posts are approved. Just be patient.
White background in buttons while stretching to iPad resolution.
I'm porting my app into the iPad. I've a problem with buttons. I use 'Round Rect Button'. In the button's background there is used an image. In the iPhone it looks good, but when I stretch it into the iPad, it makes a white background over the button. I checked the button's image in GIMP (stretched there), but there wasn't any blank background.
I'm porting my app into the iPad. I've a problem with buttons. I use 'Round Rect Button'. In the button's background there is used an image. In the iPhone it looks good, but when I stretch it into the iPad, it makes a white background over the button. I checked the button's image in GIMP (stretched there), but there wasn't any blank background.
Here you are photos: In the iPad: In the iPhone:
How to delete the white background?
Would be grateful for help! ;)
1) like already pointed out, use a custom button, not a round rect. 2) don't assign the image through IB - create and assign the image to the button through code and make sure to create a stretchableImage out of your image before you assign it to the button, that way the corners will be unaffected.
Replies
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Disagree Dislike Like Awesome2) don't assign the image through IB - create and assign the image to the button through code and make sure to create a stretchableImage out of your image before you assign it to the button, that way the corners will be unaffected.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Disagree Dislike Like AwesomeNow it looks better! Thanks for help! :)
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Disagree Dislike Like Awesome