All Questions
1,085
questions
1
vote
1
answer
34
views
The size of the image is too big for the button... Any tips?
BEFORE AFTER! the light gray is the button. I have this css for my html button:
.link-container button {
background-color: #444;
color: white;
border: none;
padding: 10px;
border-...
0
votes
0
answers
26
views
tkinter button image inside a function not working - python
I've been trying to get this to work with no luck so far. I simplified the code to only the relevant pieces. I can display an image button in the main class, but inside a function I cannot get the ...
0
votes
0
answers
22
views
Adding an image to a Tkinter button: why is the button blank? [duplicate]
I have read the previous posts about adding an image, and copied the code, altering the variable names for my own code. I get a blank button.
I am showing a canvas where I have plotted some graphics. ...
0
votes
2
answers
49
views
Changing Image Based on What Image is Shown
I have three images-one shown, the other two with display:none.
I'd like, when I press the button, for the script to check which image is currently being displayed and switch to the next image ...
-2
votes
1
answer
40
views
How can I make sure that when I press the box/image on it, I'm redirected to another page?
rn I´m building an online shop for my school. And i have Images or Boxes with pictures of the products. Now I want that people can press the image and get instantly redirected to another page with ...
1
vote
0
answers
14
views
Insert Small Icon Image into a Button
I made a multiple choice trivia game and I want each answer choice to have a small image next to it. If you look at the code below you will see how everything is set up.
<div id="...
0
votes
0
answers
7
views
Bookmark feature misbehave when hovercard feature is implemented in typescript
I have typescript components which is working properly like when I clicked the book mark button it will fetch the dashboard and image and description on top of this I added feature hover over that ...
1
vote
0
answers
54
views
Position button on specific place on scaling image
I have an image that scales when changing the screen size. I want to place a button in a specific place on the image (inside the cogwheel) and I want it to stay there.
Fiddle:
https://jsfiddle.net/...
1
vote
1
answer
35
views
Connecting an <a> element to draw an image in a HTML canvas
I am trying to use a dropdown button list to display different images in a HTML canvas. I have the href set to utilize javascript and the img and script down by the canvas, yet when you click on the ...
0
votes
0
answers
143
views
WPF image in button does not appear at runtime but yes in Visual Studio [duplicate]
I am trying to add an image to a button. This is the xaml snippet of the button:
<Button Grid.Column="3">
<StackPanel>
<Image Source="/images/MonkeyFlow-Logo-...
1
vote
1
answer
113
views
Resetting/Clear/Unselect choicebox javaFX
I have been trying to unselect or clear the value of choicebox, from when a user select another option within the same box. When I select a Brand of car and then select another all choices are ...
0
votes
1
answer
36
views
Using custom backgrounds for buttons created through JavaScript
Trying to have a button created in JavaScript to use the background image of the specific API image
I seen many suggestions to use .style.backgroundImage = 'Url("yourimagelink")';. But can't ...
0
votes
3
answers
238
views
Kotlin -How to Change the Color Tint of an Image inside a Button to Another Color Tint and Back
I have a button that has a red and black image inside of it. When the button is pressed I want to change the color of the image tint to gray and when it is pressed again I want to remove the gray ...
0
votes
1
answer
50
views
Icon button on the image for different screen sizes
I'm working on a Flutter project, and I want to add an icon button to the image, but this icon must be in the same position.
For example, if I load a car image and an image of the car I want to add an ...
0
votes
1
answer
36
views
How to make multiple images (and buttons) dissapear while pressing a button
Im trying to make an roblox game, and i wanna make an action (which is the images & buttons dissapearing while you press a button. I am an rookie scripter, so how do i make it happen, with scripts?...