Questions tagged [button]

Buttons are simple elements in graphical user interfaces that take mouse clicks or finger taps (on touch devices) as input.

In computing, a button (sometimes known as a command button or push button) is a user interface element that provides the user a simple way to trigger an event, like executing a query on a search engine or to interact with dialog boxes to confirm an action.

When asking questions specific to a particular framework or language, it's best to use the appropriate tag instead (if it's available). For example, the HTML <button> element should be tagged with , iOS buttons should be tagged with , and Java Swing buttons should be tagged with .

40417 questions
6
votes
2 answers

Dynamically change the width of a button in Android

My question is very simple, I'm trying to dynamically change the width of this button :
Simon
  • 63
  • 1
  • 3
6
votes
4 answers

C# Make Program Wait For Button To Be Pressed

I want to make the program wait for a button to be pressed before it continues, I tried creating a while loop and having it loop until the button is clicked and sets a bool to true for the while loop to end, this made it crash while (!Redpress) { …
aelsheikh
  • 2,268
  • 5
  • 26
  • 41
6
votes
5 answers

Toggle the status of a checkbox in the checkbox hack with a hyperlink

My colleague and I worked on a website that contains a FAQ page. After each question, there is an "Answer"(Antwoord) spoiler button. Clicking the button shows the answer below the current question, and above the next question. Clicking the button…
Luuklag
  • 3,897
  • 11
  • 38
  • 57
6
votes
5 answers

Text in Custom buttons randomly not centered vertically

I have a form where I use several plus and minus buttons to add new elements to the form as needed by the user. I've used a custom button style. I've used this site to get the necessary css to make sure the text is centered. But this only seems to…
Lee Blake
  • 341
  • 1
  • 2
  • 15
6
votes
4 answers

How to add multiple buttons to TinyMCE in WP?

I've followed a tutorial on Nettuts on how to add a custom button to TinyMCE (http://net.tutsplus.com/tutorials/wordpress/wordpress-shortcodes-the-right-way/) It works great and all, but i want to add many buttons and i wonder if there's a smart way…
Sebastian
  • 113
  • 2
  • 6
6
votes
1 answer

Ionic 4 - click vs touchstart on tablets (problems with click / move configuration)

We develop an Ionic 4 app that is installed in POS (point of sales) on an android tablet. Problem is, that events often get not recognised because the user stands in front of the tablet which is quite low and…
chris08002
  • 487
  • 5
  • 15
6
votes
3 answers

Flutter: The side property of OutlineButton seems to have no effect

Produces an OutlineButton with a white border: OutlineButton( shape: RoundedRectangleBorder( side: BorderSide( color: Colors.purple ) ), ) Produces a FlatButton with a purple border: FlatButton( shape: RoundedRectangleBorder( …
footurist
  • 1,509
  • 2
  • 16
  • 23
6
votes
6 answers

Alignment of text on button

I am creating a custom button. I want to set the position of text on button. I have two background images for button (button_off and button_on) first is for normal button and second is for onFocus / onPressed state. Now I have to put text on…
Saurabh Pareek
  • 7,126
  • 4
  • 28
  • 29
6
votes
1 answer

How to do a "shine" effect in CSS (see the picture below) on a button in JavaFX?

This is the css I've tried: .button { -fx-background-radius: 4; -fx-effect: dropshadow(gaussian, rgba(0, 0, 0, 0.7), 10, 0, 0, 1); -fx-background-insets: 0, 1; -fx-padding: 5 20 5 20; }
Nouvea
This is the…
jeff
  • 63
  • 3
6
votes
2 answers

How do you make buttons of the python library "urwid" look pretty?

The default appearance of a button in urwid is very functional, but in my eyes not very pretty. It can also be irritating when several buttons are side by side in a row. How can I achieve that a button is displayed with a frame and centered text and…
AFoeee
  • 731
  • 7
  • 24
6
votes
2 answers

Is there an equivalent widget in flutter to the "select multiple" element in HTML

I am searching for a widget in flutter that is equal to in flutter. An example implementation (for the web) is MaterializeCSS Select Multiple As seen above I should be able to provide a list of items (with some of them…
Finn Tegeler
  • 63
  • 1
  • 1
  • 7
6
votes
2 answers

Button HTML will not submit form in IE7

Can anyone let me know why this form will not submit in IE7?
+
Andy
  • 2,991
  • 9
  • 43
  • 62
6
votes
1 answer

Launching new form by a button click in qt gui application?

I am trying upon some simple applications. I would like to know how to launch a new form by clicking a button from main window. Please explain this to me with a simple example.
Ashok Jeev
  • 727
  • 3
  • 11
  • 14
6
votes
7 answers

Button with right arrow

I am trying to make a button with right arrow in it. I have defined a card view with a button inside it. but I am not sure how I can put the arrow along with it and if its possible to achieve in xml. Button should look like this : My xml looks like…
Talib
  • 1,134
  • 5
  • 31
  • 58
6
votes
3 answers

Separator between buttons in custom button bar

I have made a custom button bar as described here. Now, I want to add a separator between the first and the second and between the second and the third button. My button bar is defined as follows:
Manuel
  • 8,135
  • 10
  • 32
  • 29