Questions tagged [button]
Buttons are simple elements in graphical user interfaces that take mouse clicks or finger taps (on touch devices) as input.
40,660 questions
0
votes
1
answer
59
views
Jetpack Compose: Bottom button moves up with keyboard, want it scrollable instead of resized
I am building a screen using Jetpack Compose with Scaffold, Surface, and ConstraintLayout.
...
-5
votes
0
answers
108
views
VBA command button action to display/hide word graphic [closed]
I would like to display or hide a graphic (jpg) in my Word document, triggered by a toggle button or something. I have seen some videos about command buttons in MS Word, and it seems to be the way to ...
1
vote
3
answers
90
views
How to differentiate context for a clipboard button in a dynamic DataTemplate?
(Solution at end)
I'm trying to implement a simple clipboard functionality in a section of my datagrid template, so that I can copy the contents of that cell with a single click, however, since this ...
2
votes
1
answer
70
views
Bind buttons iteratively in tkinter? [duplicate]
I'm currently trying to create buttons in Tkinter dynamically, each button should have a copy_url() function assigned to it, and when clicked, the button should ...
0
votes
1
answer
68
views
Custom bullet indentation and inline trailing button on the first line [closed]
Problem Description
I'm implementing a custom bullet-style text list. As shown in the image below, the "More" button should naturally follow the text on the first line, and the custom bullet ...
0
votes
0
answers
63
views
Text is not visible when the button is in disabled state
I'm encountering a weird behavior on iOS 26. I have a simple Liquid Glass button on a view.
...
2
votes
1
answer
69
views
How to get HTML button to display horizontally on mobile
screenshot of mobile
We are currently using a website platform that is very limited so we resorted to using an HTML button which was working great until we realized how it was displaying on mobile.
...
0
votes
1
answer
60
views
Why is this GTK+ C++ program not showing a button with a black rectangular box boundary as expected?
I have the following HDSentinel.cpp program designed to run under the GTK+ library environment. I had a simple Hello.cpp program that I tried to adapt so that the "Hello World" button would ...
1
vote
3
answers
142
views
QML Listview - Button text is not displayed in the first row
I have a very simple QML application with a ListView. The ListView contains a Rectangle (for ...
Advice
0
votes
2
replies
41
views
In qualtrics survey: make another question (that is just text) to a popup which appears on click (without using Javascript)
I have a question everyone sees that is like this:
Click if you want to know more on
...
1
vote
2
answers
82
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
97
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 ...
Advice
0
votes
5
replies
71
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.
...
-1
votes
1
answer
73
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
127
views
2
votes
2
answers
183
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
99
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 ...
-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
85
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
86
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
78
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
148
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
vote
1
answer
112
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
52
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. ...
0
votes
0
answers
26
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
93
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
187
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 ...
-1
votes
1
answer
63
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
168
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
101
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
76
views
Swift ButtonStyle can't change the background color for the entire button
I have a ButtonStyle which is like that:
...
-2
votes
1
answer
86
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?
...
0
votes
2
answers
139
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 ...
0
votes
0
answers
79
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
40
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
180
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
116
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 ...
0
votes
0
answers
35
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
83
views
Cannot retrieve value of selected radio button
I used Bootstrap to create the radio buttons:
...
0
votes
2
answers
78
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
134
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
116
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 ...
-1
votes
1
answer
68
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
120
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
68
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:
...
-2
votes
1
answer
161
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.
...
0
votes
4
answers
160
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:
...