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
12
votes
2 answers

Alternatives to WPF?

I'm in the process of learning C# and have a firm grasp of Java, and almost two decades ago VB6. I'm jumping straight into Windows desktop applications and wonder what alternatives there are to WPF? Anything recent, that would be more relevant to…
standbyfor
  • 173
  • 1
  • 1
  • 5
12
votes
5 answers

Is it possible to create a C++ GUI with Visual Studio?

Can we create C++ GUI applications with Visual Studio or do we need QT like cross platform softwares? (By the way, I am assuming if I create a GUI with C++ it would be a cross platform application because as far as I know C++ is a cross platform…
Zgrkpnr
  • 1,191
  • 4
  • 15
  • 32
12
votes
11 answers

How to output java full screen properly

Now what I am doing in my program is that I am using setundecorated = true and MAXIMIZED_BOTH So it makes it go full screen and the display looks very nice, But the problem is that there are images (border) on the left and the right side of my…
Daksh Shah
  • 2,997
  • 6
  • 37
  • 71
12
votes
10 answers

Is it possible to build custom GUI like this in Java?

I made this in Photoshop and I plan to use it for my file sharing application: I was wondering if it was possible to create GUI for my application that is gonna have this look and feel. If I can't build it only by using eclipse or NetBeans, are…
AmateurProgrammer
  • 2,609
  • 3
  • 19
  • 14
12
votes
2 answers

Swiping to the next Fragment with a button click

Here is my code: FirstView.java import android.content.Intent; import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.View.OnClickListener; import…
PeakGen
  • 21,894
  • 86
  • 261
  • 463
12
votes
2 answers

R Script: Determine whether the script is run in the GUI or from command line

Is it possible to determine - from within the script - whether the script is running in the R-GUI (specifically R.app on OS X) or whether it has been called from Terminal/command line (i.e. R --vanilla -f script.R)? If so, how is this possible? I'm…
Pascal
  • 16,846
  • 4
  • 60
  • 69
12
votes
3 answers

Delay of button's highlighted state

I have the issue in two completely different situations, which makes it really weird. Situation: A UIButton in as a subView of another UIView. Situation: UIBarButtonItem's in a UIToolBar. In both situations the buttons's are only highlighted after…
Leandros
  • 16,805
  • 9
  • 69
  • 108
12
votes
5 answers

What's the relationship between pixels and scaled pixels

I used the layout editor in eclipse to mock up my ui layout and then I created the code to populate it dynamically and things are showing up as different sizes. The XML I use to add the star images looks like…
CaseyB
  • 24,780
  • 14
  • 77
  • 112
12
votes
5 answers

Text overlay over imageview in android

I am trying to have textviews overlay over imageviews. Something like this Can someone help me with the code.
Vinay Gaba
  • 1,156
  • 3
  • 12
  • 26
12
votes
3 answers

How to disable a widget in Kivy?

I read the Kivy tutorial and couldn't find how to disable a widget (for example, a Button). def foo(self, instance, *args): #... main business logic, and then instance.disable = False # type(instance) = kivy.uix.Button I bind foo with…
Ulrich Von Rekkenin
  • 352
  • 1
  • 3
  • 14
12
votes
14 answers

Android background + text + icon for a button

I would like to have an image set to background a text on it and an icon on the left side of the text. Very easy in iPhone, but can't figure out how to do it at Android, to be resizable that button and keep the icon + text position and distance…
user529543
12
votes
1 answer

Set priority to GUI thread in Qt

Is it possible to set priority to the main GUI thread so it has higher priority comparing to the other threads (QThread)? My aim is to not to freeze up the GUI while the other threads are doing some intensive computation which may occupy CPU to 100%…
John Yang
  • 547
  • 1
  • 8
  • 21
12
votes
1 answer

One or more resources has the target of 'head' but not 'head' component has been defined within the view

I created a JSF page with PrimeFaces components. The project runs fine, but the PrimeFaces UI look and feel is completely missing. I'm only noticing below message in server log: One or more resources has the target of 'head' but not 'head'…
James Forland
  • 155
  • 1
  • 1
  • 6
12
votes
9 answers

Iterate Over Struct; Easily Display Struct Fields And Values In a RichEdit Box

Is there an easier way to display the struct fields and their corresponding values in RichEdit control? This is what I am doing now: AnsiString s; s = IntToStr(wfc.fontColor); RichEdit1->Lines->Append(s); etc... Is there an easier way than having…
user195488
12
votes
11 answers

How do I actually get somewhere in GUI programming?

I am an undergraduate student. I was exposed to basic programming couple of years back in school. Till now I have an understanding of Core Java, Core Python and basic C and C++. Every time I start off with some GUI programming so as I can start off…
Nitish Upreti
  • 6,312
  • 9
  • 50
  • 92
1 2 3
99
100