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
266
votes
14 answers

Flutter give container rounded border

I'm making a Container(), I gave it a border, but it would be nice to have rounded borders. This is what I have now: Container( width: screenWidth / 7, decoration: BoxDecoration( border: Border.all( color:…
Karel Debedts
  • 5,226
  • 9
  • 30
  • 70
247
votes
13 answers

How do I center text vertically and horizontally in Flutter?

I'd like to know how to center the contents of a Text widget vertically and horizontally in Flutter. I only know how to center the widget itself using Center(child: Text("test")) but not the content itself. By default, it's aligned to the left. In…
jeroen-meijer
  • 2,664
  • 2
  • 13
  • 16
246
votes
20 answers

Swipe to Delete and the "More" button (like in Mail app on iOS 7)

How to create a "more" button when user swipe a cell in table view (like mail app in ios 7) I have been looking for this information both here and in the Cocoa Touch forum, but I cannot seem to find the answer and I am hoping someone smarter than…
Guy Kahlon
  • 4,510
  • 4
  • 30
  • 41
239
votes
13 answers

Graphical DIFF programs for linux

I really like Araxis Merge for a graphical DIFF program for the PC. I have no idea what's available for linux, though. We're running SUSE linux on our z800 mainframe. I'd be most grateful if I could get a few pointers to what programs everyone else…
scottb2
  • 2,407
  • 2
  • 15
  • 4
238
votes
36 answers

UINavigationBar custom back button without title

How can I customize the navigation back button in iOS 7 and above without title? (i.e. with the arrow only) self.navigationItem.leftBarButtonItem = self.editButtonItem; I'm just wondering if they have any self.backButtonItem; OR something like…
Kiddo
  • 5,052
  • 6
  • 47
  • 69
232
votes
10 answers

Round Specific Corners SwiftUI

I know you can use .cornerRadius() to round all the corners of a swiftUI view but is there a way to round only specific corners such as the top?
Richard Witherspoon
  • 4,082
  • 3
  • 17
  • 33
227
votes
9 answers

Java GUI frameworks. What to choose? Swing, SWT, AWT, SwingX, JGoodies, JavaFX, Apache Pivot?

There is quite a lot of gui frameworks out there for java, but what is recognized as today's framework of choice? The following is my understanding of the different frameworks, please correct me if im wrong. This is a very loosely defined set of…
netbrain
  • 9,194
  • 6
  • 42
  • 68
218
votes
5 answers

How do I enter RGB values into Interface Builder?

How can I enter RGB or Hex color values for backgrounds in Interface Builder? I can select predefined colors but I would like to manually enter in RGB values. Where can I do this?
Sheehan Alam
  • 60,111
  • 124
  • 355
  • 556
218
votes
15 answers

Presenting a UIAlertController properly on an iPad using iOS 8

With iOS 8.0, Apple introduced UIAlertController to replace UIActionSheet. Unfortunately, Apple didn't add any information on how to present it. I found an entry about it on hayaGeek's blog, however, it doesn't seem to work on iPad. The view is…
Matt3o12
  • 4,192
  • 6
  • 32
  • 47
217
votes
15 answers

Mac SQLite editor

I am aware of CocoaMySQL but I have not seen a Mac GUI for SQLite, is there one? My Google search didn't turn up any Mac related GUI's which is why I'm asking here rather than Google.
Teifion
  • 108,121
  • 75
  • 161
  • 195
214
votes
4 answers

How can I check if a view is visible or not in Android?

I set visibility to invisible like this on Android: myImageView.setVisibility(View.INVISIBLE); And then to make it visible: myImageView.setVisibility(View.VISIBLE); Now I don't know if myImageView is visible or not, how can I check it like…
Martin
  • 2,319
  • 4
  • 17
  • 13
211
votes
25 answers

How to change color of the back arrow in the new material theme?

I've updated my SDK to API 21 and now the back/up icon is a black arrow pointing to the left. I would like it to be grey. How can I do that? In the Play Store, for example, the arrow is white. I've done this to set some styles. I have used…
Ferran Maylinch
  • 10,919
  • 16
  • 85
  • 100
211
votes
10 answers

Android ViewPager with bottom dots

I want to add 3 bottom dots to my ViewPager, like this. I use FragmentActivity and support library ViewPager.
211
votes
6 answers

Swing vs JavaFx for desktop applications

I have a very big program that is currently using SWT. The program can be run on both Windows, Mac and Linux, and it is a big desktop application with many elements. Now SWT being somewhat old I would like to switch to either Swing or JavaFX. And I…
Quillion
  • 6,346
  • 11
  • 60
  • 97
208
votes
6 answers

Where did the Object Library go in Xcode 10?

In Xcode 10, where is the Object Library which shows view and controller objects, code snippets and media that used to appear towards the lower right corner in Xcode 9 and older? Xcode 9: Xcode 10:
HuaTham
  • 7,486
  • 5
  • 31
  • 50