Comments (4)
from lwjgui.
Hey! Do you have a picture example of what you’re looking to achieve? And can I see the code you tried so I can see what the problem is?
…
On Feb 4, 2021, at 2:17 AM, YEVGENIY1989 @.***> wrote: Hi all. Can you tell me how i can add image on button?When i add image on button, image dont stay on center button, and when i turn on image, don't event button. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
I take you example ImageExample, and set image on button. Image don't stay on center, and button no action when i click on image.
from lwjgui.
I just pushed a fix for the alignment issue in the Button class (in Labeled parent class).
As for click-through, please use Node#setMouseTransparent()
method! Set to true for your graphic node, so it will not capture mouse input.
from lwjgui.
I just pushed a fix for the alignment issue in the Button class (in Labeled parent class).
As for click-through, please use
Node#setMouseTransparent()
method! Set to true for your graphic node, so it will not capture mouse input.
Hello. This solved my problem. Thanks for finding a solution quickly.
from lwjgui.
Related Issues (18)
- Graphic issues with SplitPane HOT 6
- TreeItem's text not affected by CSS HOT 2
- TextField consumes up and down arrow key presses HOT 3
- Key press events create new event objects for each node HOT 6
- TextField control receives KeyPress events when not in editing HOT 4
- borderPane.setRight appears on the left side HOT 4
- Correct rendering when resizing HOT 2
- Triple click in textfield causing exception HOT 1
- Where are it's docs? HOT 1
- Issue using trees HOT 2
- Custom widget? HOT 2
- Scrollpane/VBox containing BorderPane's allow only the last item to be interacted with HOT 3
- ScrollPane content does not adhere to children/parent model
- Add a slider HOT 11
- Gradle setup HOT 2
- Image HOT 1
- I can't import LWJGUI in maven HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lwjgui.