-
Notifications
You must be signed in to change notification settings - Fork 401
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Graphic scaling #33
Comments
what do you mean by scaling it ? having same icon size as button ? |
I have a graphic that is 150x150. I want the button to be 30x30. The Does that make sense? Using the standard button, I was able to set the size of the button and Todd Lawson On Tue, Aug 18, 2015 at 4:14 AM, Mehdi Sakout notifications@github.com
|
I think you should define a ScaleType for the fancybutton Image like so |
@ToddManUtah any update on this ? |
I just tried it and still no luck. The graphic isn't scaled down. Here's my code:
I also tried several other scale types. All allowed the button to grow beyond the bounds defined for the button. Here is the button xml:
The graphic I'm using is 150x150. |
Closing. If you still have the issue please re-open |
Does the library support scaling of graphics?
I have a ImageButtton I'm trying to replace. I have it working with ImageButton with the following:
<ImageButton
The image is 256x256 and I'm trying to have the button scale it down to fit into the FancyButton. But, I can't get it to scale down.
The text was updated successfully, but these errors were encountered: