Skip to content
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

how to rewrite setBounds() #1

Open
0492wzl opened this issue Aug 8, 2018 · 1 comment
Open

how to rewrite setBounds() #1

0492wzl opened this issue Aug 8, 2018 · 1 comment

Comments

@0492wzl
Copy link

0492wzl commented Aug 8, 2018

I want to set X,Y,Width,Height by myself,but this control's setBounds() method doesn't work because of the core code paintControl(). now I find out to set Width,Height by lastWidth, lastHeight, but how to defined X,Y by myself ? if it don't support ,how can I rewrite this SquareButton?

@KrychunIvan
Copy link

I recommend you to use layouts & setting margin to control location & size of our button.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants