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

Could I retrieve the original form set as button icon? #147

Open
tinchodias opened this issue May 7, 2024 · 1 comment
Open

Could I retrieve the original form set as button icon? #147

tinchodias opened this issue May 7, 2024 · 1 comment
Labels
question Further information is requested

Comments

@tinchodias
Copy link
Collaborator

Is this right?

aForm := Smalltalk ui icons iconNamed: #remove.
b := ToButton new.
b iconImage: aForm.
b openInNewSpace.

bwForm := b iconImage background image.
bwForm = aForm.  "false"

aForm / bwForm:
Screenshot 2024-05-07 at 15 00 52

@tinchodias tinchodias added the question Further information is requested label May 7, 2024
@plantec
Copy link
Collaborator

plantec commented May 7, 2024

This is not an issue since the original Form is not changed,
The raw skin changes the form colors.
Another skin or another implementation of the skin could do it differently

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

No branches or pull requests

2 participants