user-interface

ContextMenuStrip not highlighting Items according to mouse movement

I have a ContextMenuStrip that I am showing programmatically in response to a button being clicked. Everything works as expected, except that the Items in the menu do not respond to being moused over. Whether the mouse button is up or down, mousing over the menu has no visible effect, and releasing the mouse button does not select an I...

Jquery Droppable Demo Help

I am testing out the Jquery droppable photo manager demo: http://jqueryui.com/demos/droppable/#photo-manager Currently when the photo is deleted it is moved to the trash bin. How can I have it copy the image and move it to the trash bin so that it appears in both places?? This is the code: <script type="text/javascript"> $(fu...

Changing the selected item colour in a gtk treeview using python

I have a dialog which contains a pygtk.treeview for listing tasks by priority. Each row has the background colour set based on that priority, so for example the highest priority has a light red background. The row selection color is not so easy to change. I can set it using treeview.modify_base(gtk.STATE_SELECTED, "#C4C4C4"), but no col...

iPhone Checkboxes à la Mail

After reading the iPhone Human Interface Guidelines, I notice there's little mention of checkboxes in the style that one may encounter them on the desktop or web. Checkboxes are generally handled by UISwitchs on the iPhone, but for an app I'm presently working on, they're really not the right control. Instead, the control you'll see in ...

How do I show a loading bezel on the iPhone?

Hi Guys. I'm building an application where it loads contents off of the web to populate a TableView. I would like to add some sort of loading indicator so that the screen won't just contain the blank table. I was thinking about something like this: I've been trying to look it up on documentation and Google, but to be honest don't k...

Cocoa Scalable Interface for Digital Signage Display

I'm working on a Cocoa application which will be used for a digital-signage/kiosk style display. I've never done anything like this with Cocoa before, but I'm trying to figure out what the best approach is for building the user interface for it. My main issue is that I need a way to have the user interface scaled up or down depending on...

What is the best way to get the item selected in the listview?

I have a listview which has a bunch of selections. I want to keep the focus on the listview in touchmode and get the item selected. What is the best way to do that? I found this blog: http://bestsiteinthemultiverse.com/2009/12/android-selected-state-listview-example/ and http://developer.android.com/resources/articles/touch-mode.html ...

What is the preferred mechanism to use icons with button labels

I have seen the following snippet of UI code to use icons with labels <a href=""> <img alt src="img/save.gif" class="icon"> <span>Save</span> </a> OR would it make sense to make combine this into a single entity (i.e. image icon plus the label). My concern is if we choose a different theme (color scheme), then I will not be ...

patterns to use when building complex web UI

I need to implement a wizardy, dynamic UI that uses complex validation of the style: If A = 1, show controls B, C, D. B is required, C is not, and D is not required must be less than 30 if it is populated. If A = 2, show controls B, D, E. B is not required, D is required but has no limits, and E is not required. If B is not null, show ...

Best book(s) about web design and front end development

I searched for a while but I couldn't find a question that exactly covered this topic. I'm looking for a web design book that covers both the design part and the front-end development part. What I mean by that is a book that teaches me about UI, color theory, typography, use of illustrations, etc (the design part) and also how best to wo...

How do I implement an "iPhone App Store" style tab bar?

I'm developing an iPhone app that needs to display fairly complex information, and I think the best way to display it would be to mimic the UI layout that Apple chose in their "App Store" app for iPhone. If you load the App Store app and go to the "top 25" tab, there will be the standard tabs on the bottom (a normal iPhone tab bar) as w...

How to block UI in IPhone

Hello A simple question: how can I block UI thread without using sleep? Just to be clear: I understand that UI will freeze for user, but that's the idea... Can I run empty RunLoops? Any other ways. thank you ...

Drag (move) a polygon using Google Maps v3

The Google Maps API for a Polygon does not offer a drag method. What would be an efficient way of implementing such a feature (i.e., sufficiently optimised so that it would not kill a four year old laptop)? Thank you! ...

given a background color, how to get a foreground color that make it readable on that background color?

given a background color, how to get a foreground color that make it readable on that background color? ps: I mean computing that foreground color automatically in a program. or simplify the problem, if the foreground color is chosen from white/blank, how to do the choise in a program? ...

Hide UIPageControl

Hi, i want to hide the bar of the UIPageControl, because i want to implement a pagination with swipe gesture function so I don't need to display the dot bar. If I set hidden=YES there will remain a black block with size of the UIPageControl. Is there a way to hide the UIPageControl Bar completely? Thanks for your answers. ...

What's the easiset way to create a custom jquery ui button for dialog?

in 1.8.2 I don't want to use the customer themed button. I need to create a few custom buttons. Actually very similar to the stackoverflow - Ask Question button. What's the best way to go about doing this and making it reusable. I'm basically using jquery ui out of the box, but I need to add a newly styled button. Into the dialog func...

How to automate clicking in a 3rd-party Java applet?

Okay, here's my problem: I'm using WatiN to navigate a website, but then a java applet pops up in a separate window. Ideally, I'd like to automate that window (list box selections, key presses and the like) with something like the equivalent of NUnitForms or something... can someone give me a suggestion on how to do it? Note that I don't...

Google I/O Android Sample Application

Hey all, I heard recently that Google were to opensource the Google I/O Android application - the one which showed the next available talk, speaker info, etc. Does anyone know whether this is true, and if it is, do you know where I can access the source? On a related note, does anyone know of a sample application which concentrates on ...

iPhone UI design...!!

Hi All, I have seen apps in App Store that have really attractive UI.When i make an app i use only the default set of control provided by Interface Builder and my app(even though good in functionality)does not have a UI that can attract people.Is there any ref or sample code that teaches us how to design good UIs for iPhone apps. Also...

Displaying text on a UILabel in digital form?

Hi All, How can we display text in digital format(seven segment display) on a UILabel similar to the way as text is displayed in Digital Clock. ...