user-interface

Jquery.can make JQuery UI draggable,droppable,sortable work together?

Need some help to make it out: In my page I have some dynamic created note sticker which draggable. And then I have a dropper which that sortable(enable sort) at the same time. I drag and drop the note sticker inside the dropper and sort(via drag) the sticker up and down inside the dropper! I think I can make it using the Jquery UI. Bu...

jquery ui slider: call function on mouseup outside

hi, i use the jquery ui slider and all is fine except that the function i defined in the change prameter fired only when i release the mouse over the handles. is the a way to call the function when the mouse is released outside the slider? thanks for helping. ...

WPF Fade out status bar text after X seconds?

I'm trying to come up with an unobtrusive way to to display minor error messages to a user. So I've added a statusbar to my form, <StatusBar Margin="0,288,0,0" Name="statusBar" Height="23" VerticalAlignment="Bottom"> <TextBlock Name="statusText">Ready.</TextBlock> </StatusBar> And then when they click an "Add" button, ...

POST to password protected URL?

I am working on a project that requires me to POST some data to a url that requires a username and password for access. How do I build the URL so that it automatically logs into the system? $.ajax({ url: "https://xxxxxxx", type: "POST", data: "___PUT_BODY___="+file+"&file="+time, }) ...

UI design when Developing 1 mobile app for both iPhone and android..

As a developer What are your thoughts on UI design when Developing 1 mobile app for both iPhone and android.. Since the application will not be developed for a specific mobile device there are two options in regards to UI build the application using native UI (one for iphone, another for android) build the application using custom UI ...

JQuery UI Sortable: Toggle all portlets when created?

I am referring to the portlet example here All the divs of the class 'portlet-content' are displayed when the demo starts. I am trying to get them to collapse when the page loads, and I tried this: $('.portlet-content').toggle(); Inside the document.ready(). However this doesn't work. However, if I enter the statement above using th...

Design pattern for view navigation in Android?

I'm quite new to Android development and face UI implementation issues. Namely I'm trying to find a good way (design pattern?) that addresses view hierarchy and navigation between views (with history). Does is always has to be about launching new Activity? I don't want to learn bad habits during my first steps with Android SDK, hence my ...

Flex: Remove all space around text in label

If I create a mx:Label or mx:Text control in Flex and then set an opaqueBackground to it, I notice that there is some space around the text. I would like to be able to get rid of that space to where the text is completely flush to the top and bottom of the label. Changing the gap, padding, and leading didn't seem to help. Is it possibl...

WPF Grid saving position and also being collapsible

There have been many situation where I need to have a resizable area. It seems that using a grid and a gridsplitter to resize the columns is a good idea. However, with this I am unable to do one major thing. That is collapse one of the columns after resizing the grid. Also, saving the position of the grid splitter requires me to have atl...

How to resize UI Table View of a UI Table View Controller programmatically?

Hi, I subclassed UITableViewController and called it FeaturedGamesViewController. Ok, I also have a navigation controller to which I added this FeaturedGamesViewController as the root. All pretty standard stuff that you do in the App Delegate. Also note that there is no NIB file created for FeaturedGamesViewController. Just subclassing...

User Interface problem

hi, i have a user profile form in that i have four operations 1.view profile 2.edit profile infor 3.change password 4.change profile picture i want to combine these operation into one and want to remove extra buttons how can i do it . ...

Issues with padding in RelativeLayout.

<View android:id="@+id/first_sep" android:layout_width="fill_parent" android:layout_height="1dip" android:paddingTop="100dip" android:layout_below="@id/calculate" android:background="#FFCCCCCC" /> I have this View in a RelativeLayout and the android:paddingTop property doesn't seem to work. Tried it with various values and ...

Button highlight behavior changed on Froyo?

On Android 2.1, just as on most graphical computer OSes, pressing the mouse while in a button, then dragging away, then dragging back, then releasing (while within the button rectangle) would result in a button press. It would also highlight while the mouse pointer was within (or actually near) the button, going off as the pointer left ...

add gtk.TreeView columns to a size group

I want to stack two treeviews on each other and have the columns be aligned. I figured the way to do this would be to use a gtk.SizeGroup somehow. However, gtk.TreeViewColumn is not a widget... how can I do this? ...

time_select with 12 hour time and Time Zone in Ruby on Rails

I have the need to capture a time and time zone from users of a rails 2.3.8 app, but have been unable to think of a clean solution to create and parse the selections. Ideally I would have a drop-down menus for the following: hour (1-12) minute (0-59) AM/PM Time Zone Is there a gem/plugin that accomplishes what I am looking for? Will...

How to use shared resource file between projects in one solution?

Hi, I have a problem with resource file... I have a solution with two projects. The first project contains ImageResource.resx file with my images what I use. Every Form in this project can access to this file from designer. But I can see in the designer ImageResource.resx file to use it from second project (Reference to second project i...

Amount to show on a bill form

My company is currently setting up an online billing portal for our customers. I was curious as this question went back and forth a bit between developers and testers: When showing the input form for the amount a customer wishes to pay, do you set the default to be the max amount owed by the customer? Taking a look around at sites when I...

What's the meaning of dotTrace's numbers in Line-By-Line profiling?

What do those numbers mean exactly? Times the line was hit? Microseconds per invocation? Or what? Also, what do the 'progress-bars' behind the numbers mean? They aren't even proportional to the numbers, so I'm really confused. ...

UIWindow gets distorted weirdly when outputted to an external screen

After I connect my iPad to an external screen, my window gets distorted all weirdly. I'm guessing this is because the screen's resolution is different than the iPad's and my app is not setup to autoresize it's views very well. Is there anyway to have the rendered output on the external screen be a a scaled visual image of the original i...

How to have default input value preselected to be changed

I have an input box where users should enter their email address. There are no labels in the page so the input box comes up and it says: "Please enter your email address". When the user clicks on it then the whole thing disappears. I got that working. So far no problem. I have seen a few sites where the text "Please enter your email ...