EzDevInfo.com

user-interface interview questions

Top user-interface frequently asked interview questions

Graphical DIFF programs for linux [closed]

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 linix on our z800 mainframe. I'd be most grateful if I could get a few pointers to what programs everyone else likes.


Source: (StackOverflow)

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

What is a JavaScript or jQuery solution that will select all of the contents of a textbox when the textbox receives focus?


Source: (StackOverflow)

Advertisements

iOS 7 navigation bar custom back button without title

How can I customize the navigation back button in iOS 7 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 this?

self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc]
                   initWithBarButtonSystemItem:UIBarButtonSystemItemBACK 
                   target:self action:@selector(back)];

Source: (StackOverflow)

What is Linux’s native GUI API?

I hope this doesn’t come across as a stupid question but it’s always something I have wondered. Both Windows (Win32 API) and OS X (Cocoa) have their own APIs to handle windows, events and other OS stuff. I have never really got a clear answer as to what Linux’s equivalent is.

I have heard some people say GTK+, but GTK+ being cross platform, how can it be native?


Source: (StackOverflow)

Cooler ASCII Spinners? [closed]

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 console application?


Source: (StackOverflow)

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?


Source: (StackOverflow)

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?

Third Example


Source: (StackOverflow)

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


Source: (StackOverflow)

Mac SQLite editor [closed]

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.


Source: (StackOverflow)

How can I 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 a GUI with it, can anybody shed some light on this and point me in the right direction please?


Source: (StackOverflow)

What are good open source GUI SQLite database managers? [closed]

Is there any good open source SQLite database manager around?

I am using sqlitebrowser now but I have to say the interface is not really friendly so I am looking for something better.


Source: (StackOverflow)

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 installed fonts.

I know that, in the Java code, I could change the font of each widget manually using unique IDs. Alternatively, I could iterate over all the widgets in Java to make this change, but this would probably be very slow.

What other options do I have? Is there any better ways to making widgets that have a custom look? I don't particularly want to have to manually change the font for every new widget I add.


Source: (StackOverflow)

What's the difference between fill_parent and wrap_content?

In Android, when layout out widgets, what's the difference between fill_parent and wrap_content?

Is there any documentation where you can point to? I'm interested in understanding it very well.


Source: (StackOverflow)

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 myself can give me a solution.

I would like that when the user swipes a table view cell, to display more than one editing button (he default is the delete button). In the Mail app for iOS 7 you can swipe to delete, but there is a "MORE" button that shows up.

enter image description here


Source: (StackOverflow)

Javascript dependency management : npm vs bower vs volo? [closed]

How do you compare npm, bower and volo?

All three can be used to install javascript dependencies for a UI project. I understand npm is more node specific.

So, when to use what?

npm still stands distant, but bower and volo seem to be solving exactly the same problem, although I am not able to draw a line between npm and bower-volo.


Source: (StackOverflow)