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
206
votes
65 answers

Why is good UI design so hard for some Developers?

Some of us just have a hard time with the softer aspects of UI design (myself especially). Are "back-end coders" doomed to only design business logic and data layers? Is there something we can do to retrain our brain to be more effective at…
Chris Ballance
  • 33,810
  • 26
  • 104
  • 151
195
votes
8 answers

DataSet panel (Report Data) in SSRS designer is gone

In the layout screen of an SSRS designer e.g. Visual Studio, I have lost the report data panel. It has disappeared and I can't remember what it is called in order to get it back. This usually lists the following items: Built-in…
bigoteetoe
186
votes
1 answer

What are the performance implications of using an immediate-mode GUI compared to a retained-mode GUI?

I am currently working on a standard Windows desktop application (standard meaning no fancy stuff: just buttons, text, sliders, etc.), and have decided to write a GUI framework on my own, after looking into some GUI frameworks and being repelled by…
184
votes
1 answer

DTO and DAO concepts and MVC

Why do we use DTO and DAO, and when should we use them. I am developing a GUI Java software to do with inserting, editing, deleting data. But I am struggling to distinguish between DTO/DAO and Model, View, Controller (MVC) structure? Are they…
Hoody
  • 2,942
  • 5
  • 28
  • 32
182
votes
11 answers

Choosing a file in Python with simple Dialog

I would like to get file path as input in my Python console application. Currently I can only ask for full path as an input in the console. Is there a way to trigger a simple user interface where users can select file instead of typing the full…
Mustafa Zengin
  • 2,885
  • 5
  • 21
  • 24
181
votes
25 answers

How to get users to read error messages?

If you program for a nontechnical audience, you find yourself at a high risk that users will not read your carefully worded and enlightening error messages, but just click on the first button available with a shrug of frustration. So, I'm wondering…
F'x
  • 12,105
  • 7
  • 71
  • 123
179
votes
24 answers

Move layouts up when soft keyboard is shown?

I have a few elements in a RelativeView with the align bottom attribute set, when the soft keyboard comes up the elements are hidden by the soft keyboard. I would like them to move up so that if there is enough screen space they are shown above the…
Dinedal
  • 2,646
  • 2
  • 19
  • 18
174
votes
18 answers

Custom fonts and XML layouts (Android)

I'm trying to define a GUI layout using XML files in Android. As far as I can find out, there is no way to specify that your widgets should use a custom font (e.g. one you've placed in assets/font/) in XML files and you can only use the system…
DrDefrost
  • 1,807
  • 3
  • 12
  • 5
170
votes
20 answers

Android RecyclerView addition & removal of items

I have a RecyclerView with an TextView text box and a cross button ImageView. I have a button outside of the recyclerview that makes the cross button ImageView visible / gone. I'm looking to remove an item from the recylerview, when that items cross…
166
votes
14 answers

creating a strikethrough text?

Can I create a strikethrough text in Android, I mean adding a special value in the TextView tag that can make this possible?
nawfal cuteberg
  • 1,775
  • 2
  • 12
  • 8
163
votes
31 answers

Making a WinForms TextBox behave like your browser's address bar

When a C# WinForms textbox receives focus, I want it to behave like your browser's address bar. To see what I mean, click in your web browser's address bar. You'll notice the following behavior: Clicking in the textbox should select all the text…
Judah Gabriel Himango
  • 58,906
  • 38
  • 158
  • 212
163
votes
14 answers

Is it possible to put a ConstraintLayout inside a ScrollView?

So recently, with Android Studio 2.2 there's a new ConstraintLayout that makes designing a lot easier, but unlike RelativeLayout and Linearlayout, I can't use a ScrollView to surround ConstraintLayout. Is this possible? If so, how? i.e.
162
votes
14 answers

How can I unit test a GUI?

The calculations in my code are well-tested, but because there is so much GUI code, my overall code coverage is lower than I'd like. Are there any guidelines on unit-testing GUI code? Does it even make sense? For example, there are graphs in my app.…
Steve McLeod
  • 51,737
  • 47
  • 128
  • 184
161
votes
14 answers

iOS 7's blurred overlay effect using CSS?

It seems Apple's overlay is more than just a transparency. Any ideas on how to achieve this effect with CSS and possibly JS?
Lumpy
  • 3,632
  • 4
  • 34
  • 58
156
votes
8 answers

Unwanted padding around an ImageView

I need to include a header graphic in all of my activities/views. The file with the header is called header.xml:
stefs
  • 18,341
  • 6
  • 40
  • 47