40,685 questions
0
votes
1
answer
51
views
Buttons of irregular shape in QML
I need to make a collection of buttons of irregular shape -- similar to a puzzle where each piece is a button. They do not overlap, do not necessarily cover the whole window and may have gaps. In ...
0
votes
1
answer
53
views
How to add a hover sound effect in ImGui
How do I take this sound effect:
menuSound.loadSound("hover_sound", "Audio/Sound/button_hover_sound1.wav", 0.5);
And have it so that when I hover over a ImGui button, it will play ...
Advice
0
votes
5
replies
70
views
How to localise submit buttons in HTML forms
I am building a multi-lingual website and want to localise the captions shown on buttons in a form.
<form action="check.php" method="post">
<input class="btn btn-...
-3
votes
0
answers
46
views
White capsule behind Button [duplicate]
Upgraded to iOS 26.1 and now getting a white capsule behind my StyleSheet buttons:
The View code is:
ToolbarItem(placement: .topBarLeading) {
Button {
...
-1
votes
1
answer
71
views
MS_Access Use buttons to filter Subform
I am building a visual organizer for a bookcase in MS Access.
I have a main form with a grid of buttons (representing locations like "A1", "B3", "D1"). On the right side, ...
1
vote
2
answers
104
views
Buttons in tkinter are not visible
import tkinter,time
canvas=tkinter.Canvas(width=500,height=500,bg="white")
canvas.pack()
canvas.create_text(250,250,text="0:0:0",font="Arial 70 bold")
global b
def ...
2
votes
2
answers
170
views
How to make by buttons all be uniform size and centred?
I'm currently making a website and I want to include these buttons, as I have them in my design:
Screenshot of website design
They are all of the same size, equally spaced out and centred across the ...
0
votes
1
answer
93
views
Replacing "Read more" text on the buttons of post query loop (WordPress archive page)
I tried to replace "Read more" text on the buttons at the end of each post in the post query loop, e.g. archive page, using 3 versions of codes below. None of them worked, the text still ...
0
votes
2
answers
126
views
How do I make the same button play AND pause the video with jquery? [duplicate]
I'm trying to make a button that plays the video when paused, and pauses when playing. I can make it pause, but I want the same button to play when paused.
BONUS: How can I also make the text change ...
-1
votes
1
answer
99
views
Button loads only for specific parts of the extension
I'm working on a chrome extension, using html, css and js only. For navigating in the extension there is a back button and i'm implementing the configurations button.
The back button works OK and ...
1
vote
2
answers
76
views
Flutter ElevatedButton doesn't respond
I have an application with a form and now with a little experimental refactoring from last week 2 buttons doesn't do anything.
Logging just say "button was click " but no method is called.
...
1
vote
1
answer
69
views
Button to save edit in its current model and then return you to previous Details view of a different model
I am using ASP.NET MVC. I have a PIF controller and on the details view, I have data showing from a variety of other models, one of which is called SAEs (I will use this as the example). For each of ...
0
votes
0
answers
63
views
Office script in Excel can't be saved to workbook
I have written a script that works as expected with a specific workbook and I now want to save it to that workbook and ideally would like to make a button to run the script. However I do not get the ...
0
votes
0
answers
76
views
Invoke_Invoked event in Accessibility Insights for Windows
I have an issue with catching Invoke action.
I created a simple WinForms app, with a single text field and a single button. I want to catch the Invoke_Invoked event in the Accessibility Insight ...
0
votes
0
answers
115
views
How can I style a CSS button for Outlook Classic without it looking like highlighted text?
I'm trying to style a button (or a link that looks like a button) for Outlook Classic. Every time I try, the text just gets highlighted and the button looks terrible. It works fine in Outlook New and ...
-1
votes
0
answers
66
views
CSS angle cut outline button [duplicate]
I need to build this special shaped button.
So initially the outline will be white and background will be transparent when I hover over it both the border and transparent background should become ...
1
vote
1
answer
95
views
Custom Border in CSS [duplicate]
I want to make the border-radius of a Button in CSS sharp like 45 deg instead of round. I tried it with clip-path, but it turned out only to be the background and not the border. Are there any ...
1
vote
1
answer
50
views
Kivy Button with on_touch_up defined calls the connected method twice
I defined a Kivy Button and associated a method with on_touch_up. However, when I click the button, the method is called twice. This issue stops occurring if I also define on_touch_down and return ...
0
votes
0
answers
24
views
Outlook add-in cannot figure out how to debug inside a Office.OnReady()
I've been working on an outlook add-in thats supposed to do some things with attachments when a mail is send, I've tried to use events for this but came to the conclusion that it may just be ...
-1
votes
1
answer
82
views
How do I make a tab effect in CSS? [duplicate]
Below, I would like to create the following effect on a button element in CSS:
Whereas I just want a basic regular button but with the 'tab' sticking out of the bottom.
How do I do this?
I've tried ::...
2
votes
2
answers
146
views
How do I make the corners rounded on TRectangle in Delphi FireMonkey?
I'm making a game in Delphi with FireMonkey and I'm trying to make a button with rounded corners using a TRectangle. It is the play button in the photo below:
Is this possible? How can it be done?
I'...
-1
votes
1
answer
62
views
Making a sample table is going really wrong
I'm really new to coding and I'm taking a coding class and it's super confusing to me. I've been assigned a task to recreate a sample table using HTML/JavaScript, and there are a few elements that ...
2
votes
3
answers
75
views
Buttons in different rows have different sizes
I'm developing (creating a copy of iPhone calculator) a basic calculator using html, css and javascript. I have laid out buttons in different rows. But the problem is buttons in different rows have ...
0
votes
1
answer
165
views
Some of the dynamically generated html buttons are sometimes unclickable
Some of my dynamically generated buttons are sometimes unclickable. Strangely, if there are 2 dynamically generated rows, the 2nd row will clickable with the tooltip working. But the 1st will both not ...
0
votes
1
answer
100
views
How to automatically change the colour of the circle by clicking the start button in the design area
How do I use a Button Click event, which is defined in a subroutine in another subroutine?
Essentially what I am trying to do is that when clicked, the colour of my circle should change. But I am not ...
0
votes
2
answers
65
views
Swift ButtonStyle can't change the background color for the entire button
I have a ButtonStyle which is like that:
import Foundation
import SwiftUI
struct FillButtonStyle: ButtonStyle {
func makeBody(configuration: Configuration) -> some View {
...
-2
votes
1
answer
79
views
SwiftUI - Getting text to center in a Button
I am trying to get the text in the above Button to centre. The format is controlled by a style sheet Struct - StatusBarEndText. Any ideas?
ToolbarItem(placement: .topBarTrailing) {
Button("...
0
votes
2
answers
124
views
Creating a bordered Button in Tkinter
I want to create a class for a Tk.Button in a Tk.Frame so that the button can have a border color independent of its background color.
I wrote this code which creates a button in a frame just as I ...
0
votes
0
answers
64
views
How to disable blue outline on button when focused material MUI
I have a button component from material mui which I have added some custom styles, but when the button is clicked it gets a blue outline which I dont want. I have tried removing it following advice in ...
0
votes
0
answers
39
views
Laveral Twill "Edit" Button Rename to the "View"
I am using the "Laravel Twill" as a Backend, And we are struggling to rename the provided name. As example once the user is submitted form it goes to the backend.Then from the CMS Side I ...
0
votes
0
answers
145
views
Directus custom button on the collection page extension
I'm trying to create a simple extension for Directus which adds a button at the header on collection list page (a button nearby "+" button)
When a user selects some of collection items, then ...
0
votes
3
answers
105
views
How to add an audio to a DOM button?
I am trying to enhance my Js knowledge by building a simple music player in HTML, JS and Tailwind CSS.
I am trying to add the DOM buttons to all of the audios. I expect the buttons to play the audio ...
1
vote
0
answers
30
views
p:commandButton add custom icon
i need to use a custom icon (from flaticons) in my p:commandButton.
Its supposed to look like any icon from primefaces itself. I have to use custom icons due to Primfaces limited selection and i have ...
1
vote
3
answers
82
views
Cannot retrieve value of selected radio button
I used Bootstrap to create the radio buttons:
<div id="heightForm">
<legend class="h">
Height:
<div class="form-check form-check-inline weightChoose ...
0
votes
2
answers
75
views
Plain HTML and CSS displayed height does not match css
I feel like I shouldn't have to ask this question, but it has me perplexed. Previously I've never really been bothered about exact pixel sizes of rendered HTML items, but I am working with a designer ...
1
vote
1
answer
120
views
Negative padding lifts button in SwiftUI but not tappable area so button is not recognizing tap
I have a close or dismiss view button on an iOS app that I am trying to place in the upper left hand of a SwiftUI View. The button has an image within it and it action is to dismiss the view.
To the ...
0
votes
1
answer
99
views
Button in excel to add text to clipboard and use it as paste in other applications, like word/notepad
I checked the questions and found some similar to my question, they nevertheless dealt with similar but other issues.
I'm trying to add buttons to an excel file which pastes pre-programmed text in the ...
0
votes
0
answers
22
views
GUILayout.Button action
I have a GUILayout.Button("...") with two "For loop" statements, but only the first statement is executed at First click the second statement is executed at an second click.
I ...
0
votes
1
answer
66
views
Show / Hide button Selected lines
The question is how to make working Show/Hide button to selected lines ?
In my code i make two section with 5 title.
In one section i want hide Title 4 and 5
In two section i want hide Title 3,4,5
It ...
0
votes
0
answers
107
views
Python telebot inline buttons do not response for some reason. Button handlers not responsing
Python 3.13.2,
pyTelegramBotAPI-4.27.0,
Windows 10
I have a problem with Python telebot inline buttons. It worked fine for a long time, without any problems. At some point it stopped to work. I did ...
1
vote
2
answers
64
views
CSS button color can't be override by parent
Consider the following HTML and CSS codes
I can't figure out why the button text is not red, and I also don't know how to let the parent override the button's color:
.red {
color: red !important;
}
&...
-2
votes
1
answer
151
views
Bootstrap 5.3.5 Hide input[type='file'] with a button
I try to follow https://getbootstrap.com/docs/5.3/forms/input-group/#custom-file-input to hide the input[type='file'] with a button but it doesn't work.
<div class="input-group mb-3">
...
0
votes
4
answers
146
views
Button color-change on click, in React
I am trying to have a button to change its color when clicked in React.
I found this and tested it: https://reactgo.com/react-change-button-color-onclick/
The code being:
const [active, setActive] = ...
0
votes
3
answers
51
views
How do I align these dropdown menus to the center?
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>
What's Up At Pearson?
&...
1
vote
1
answer
87
views
Acceptbutton on Windows.Forms.Panel object
Building a application in winforms with alot of pure powershell functions inside its code. As for now around 6k lines. And i wanted to make the login-logic a more modern touch so i changed the default
...
-2
votes
0
answers
149
views
My custom antd button is not working for color="primary" and variant="text"
this is my custom button component, antd i want use all buttons with color and variant, but this is not working for color="primary" and variant="text". And i wonder why antd button ...
-4
votes
1
answer
196
views
How can I create a 3D-looking button in React (TSX) with shadows like this example? [closed]
I'm trying to create a button in my React project using TypeScript (TSX) that has a 3D look similar to the one in the attached image:
It appears to have a raised, layered effect with a shadow that ...
0
votes
0
answers
20
views
Buttons do not work when the page is opened in the smartphone browser
I have a React web application that when opened in the smartphone browser none of the buttons work, but if I refresh the browser, the buttons start working. Does anyone have any idea what might be ...
1
vote
2
answers
78
views
formNoValidate button attribute still triggers :user-invalid css class
formNoValidate button attribute still triggers :user-invalid CSS class
Although it does not require validation it still triggers the class. Is there a non-javascript way of solving this problem?
0
votes
1
answer
161
views
.NET MAUI Buttons inside ContentView
Goodmorning,
i have a button inside a content view which is reused many times in many different content page.
Almost all the times i have a collectionview to displays elemenst of this contentview type,...