Questions tagged [user-interface]

User Interface (UI) is the system through which people interact with a computer. This tag can be used for UI-related programming questions. Note that there's a separate Stack Exchange site for User Interfaces, Interactions with the Computer and User Experience design: https://ux.stackexchange.com.

User Interface (UI) is the system through which people interact with a computer. This tag can be used for UI-related programming questions.

Note that there's a separate Stack Exchange site for User Interfaces, and Interaction- and User Experience design.

References

56892 questions
411
votes
8 answers

Left align and right align within div in Bootstrap

What are some of the common ways to left align some text and right align some other text within a div container in bootstrap? e.g. Total cost $42 Above total cost should be left aligned text and $42 is right aligned text
user462455
  • 12,838
  • 18
  • 65
  • 96
409
votes
5 answers

Navigation Drawer (Google+ vs. YouTube)

Does anyone know how to implement a sliding menu like some of the top apps of today? Other Stack Overflow questions haven't had any answers on how to do this, so I'm trying to gather as much info to help out others. All the applications I mention…
EGHDK
  • 17,818
  • 45
  • 129
  • 204
378
votes
35 answers

How do I put the image on the right side of the text in a UIButton?

I don't want to use a subview if I can avoid it. I want a UIButton with a background image, text, and an image in it. Right now, when I do that, the image is on the left side of the text. The background image, text, and image all have different…
jasongregori
  • 11,451
  • 5
  • 43
  • 41
353
votes
12 answers

UI Terminology: Logon vs Login

I am crafting an application and cannot decide whether to use the terms Login/out or Logon/off. Is there a more correct option between these two? Should I use something else entirely (like "Sign on/off"). In terms of usability, as long as I am…
Brad Leach
  • 16,857
  • 17
  • 72
  • 88
351
votes
5 answers

How to get controls in WPF to fill available space?

Some WPF controls (like the Button) seem to happily consume all the available space in its' container if you don't specify the height it is to have. And some, like the ones I need to use right now, the (multiline) TextBox and the ListBox seem more…
Rune Jacobsen
  • 9,907
  • 11
  • 58
  • 75
346
votes
24 answers

Select all contents of textbox when it receives focus (Vanilla JS or jQuery)

What is a Vanilla JS or jQuery solution that will select all of the contents of a textbox when the textbox receives focus?
Jon Erickson
  • 112,242
  • 44
  • 136
  • 174
343
votes
8 answers

How do I build a graphical user interface in C++?

All of my C++ programs so far have been using the command line interface and the only other language I have experience with is PHP which doesn't support GUIs. Where do I start with graphical user interface programming in C++? How do I create one?
waiwai933
  • 14,133
  • 21
  • 62
  • 86
332
votes
18 answers

Is there an upside down caret character?

I have to maintain a large number of classic ASP pages, many of which have tabular data with no sort capabilities at all. Whatever order the original developer used in the database query is what you're stuck with. I want to to tack on some basic…
Joel Coehoorn
  • 399,467
  • 113
  • 570
  • 794
312
votes
18 answers

Cooler ASCII Spinners?

In a console app, an ascii spinner can be used, like the GUI wait cursor, to indicate that work is being done. A common spinner cycles through these 4 characters: '|', '/', '-', '\' What are some other cyclical animation sequences to spice up a…
312
votes
12 answers

How can I make the cursor turn to the wait cursor?

How can I display the Wait/Busy Cursor (usually the hourglass) to the user to let them know the program is doing something?
Malfist
  • 31,179
  • 61
  • 182
  • 269
309
votes
14 answers

Create a directly-executable cross-platform GUI app using Python

Python works on multiple platforms and can be used for desktop and web applications, thus I conclude that there is some way to compile it into an executable for Mac, Windows and Linux. The problem being I have no idea where to start or how to write…
Teifion
  • 108,121
  • 75
  • 161
  • 195
302
votes
12 answers

How do I add options to a DropDownList using jQuery?

As the question says, how do I add a new option to a DropDownList using jQuery? Thanks
flesh
  • 23,725
  • 24
  • 80
  • 97
300
votes
7 answers

How does the algorithm to color the song list in iTunes 11 work?

The new iTunes 11 has a very nice view for the song list of an album, picking the colors for the fonts and background in function of album cover. Anyone figured out how the algorithm works?
LuisEspinoza
  • 8,508
  • 6
  • 35
  • 57
295
votes
4 answers

What's the difference between fill_parent and wrap_content?

In Android, when layout out widgets, what's the difference between fill_parent (match_parent in API Level 8 and higher) and wrap_content? Is there any documentation where you can point to? I'm interested in understanding it very well.
Pablo Fernandez
  • 279,434
  • 135
  • 377
  • 622
280
votes
31 answers

Save icon: Still a floppy disk?

I'm working on a project where the user is able to save their work (most likely to the HDD but also possibly any other media, including floppy disks). Sure, the popular File > Save option is there but what about a toolbar button? By far the most…
Travis
  • 12,001
  • 8
  • 39
  • 52