ui-design

DockPanel Tab Order

痴心易碎 提交于 2019-12-23 06:56:27
问题 I have a DockPanel set up in the DataTemplate of an ItemsControl as below: <ItemsControl HorizontalContentAlignment="Stretch"> <ItemsControl.ItemTemplate> <DataTemplate> <DockPanel> <ComboBox DockPanel.Dock="Left"/> <ComboBox DockPanel.Dock="Left"/> <Button DockPanel.Dock="Right">Button</Button> <!-- This will appear before the button...it has to go after it in the XAML so it will fill properly in the DockPanel --> <TextBox DockPanel.Dock="Left" MinWidth="100" HorizontalAlignment="Stretch"/>

DockPanel Tab Order

时光总嘲笑我的痴心妄想 提交于 2019-12-23 06:56:05
问题 I have a DockPanel set up in the DataTemplate of an ItemsControl as below: <ItemsControl HorizontalContentAlignment="Stretch"> <ItemsControl.ItemTemplate> <DataTemplate> <DockPanel> <ComboBox DockPanel.Dock="Left"/> <ComboBox DockPanel.Dock="Left"/> <Button DockPanel.Dock="Right">Button</Button> <!-- This will appear before the button...it has to go after it in the XAML so it will fill properly in the DockPanel --> <TextBox DockPanel.Dock="Left" MinWidth="100" HorizontalAlignment="Stretch"/>

Xcode 9 simulator remove frames

风格不统一 提交于 2019-12-22 03:48:04
问题 The new simulator comes with the frames that make it look more like a phone in Xcode 9 beta. Is there any way to remove this frames and make it look more like the simulator in Xcode 8? 回答1: Yes there is and it was the first thing I removed. To remove the frames do the following: Click on the simulator Go to Window (top menu) Click on Show Device Bezels (which should have a checkmark on it) The simulator will now have the same look as the one in Xcode 8. 来源: https://stackoverflow.com/questions

What UI design principles like “separation of concerns” can I use to convince developers that the UI needs fixing? [closed]

别来无恙 提交于 2019-12-22 01:36:32
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 5 years ago . I had a big discussion with team recently related to UI design for our recent software project. We need to integrate a special version control system into our existing product, which is a software testing tooling for testing by writing and playback testing scripts. The design team

Alternative iOS layouts for portrait and landscape storyboard

两盒软妹~` 提交于 2019-12-19 19:56:35
问题 I need to design different layouts for landscape and potrate I know how to design using .xib file but don't get how design different layout using storyboard. I want something like This but using storyboard. please help me. 回答1: You will need to create different views or different constraints for each screen layout. You can select the current screen layout here: And you can determine whether a view is going to be present (installed) in that screen layout here (look at the bottom): It should be

UX Design for Disabled Controls w/ the Touch Interface

北慕城南 提交于 2019-12-18 09:14:12
问题 So we're re-designing a desktop application so that it's also usable with thye Touch Interface with Windows 7. We've consulted the UX guidelines. For some part of the UI, there are toolbox icons that are disabled because of some arcane rules (the software communicates with a hardware device). We disable the actions that aren't applicable (because of some condition) and let the user hover the mouse on the tool icon to see the tooltip explanation on why that tool is disabled. Since there is no

How to make UI with round image and round text, also add ratting icon on same circle. in iOS application

℡╲_俬逩灬. 提交于 2019-12-13 23:22:13
问题 How to make UI with round image and round text, also add ratting icon on same circle. in iOS application 回答1: Import roundImageView.h class in your view class and set background image on your UIButton. Please change button type Custom . After Following these steps try this code . CGRect frame = CGRectMake(0, 0, 200, 200); roundImageView *roudImage = [[roundImageView alloc]init]; UIImage *image1 = [roudImage createMenuRingWithFrame:frame :@"Your Title" labelBgColor:[UIColor colorWithRed:(191

Home Navigation header of NavigationDrawer not showing in simulator

ⅰ亾dé卋堺 提交于 2019-12-11 17:36:55
问题 I have done my best to reproduce a UI design for an android navigation drawer. I have already designed the nav header to look like what is in the UI design. When I run the app, the header (the layout in nav_header_home.xml) is not visible in the simulator. The nav_header_home.xml for the navigationdrawer: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width=

How to specify a range of valid values in a Java GUI

一世执手 提交于 2019-12-11 16:47:26
问题 I am creating an IMDB application which displays and organizes movies found on you computer (by looking up the metadata via an IMDB API). In my search panel I want to give the user the option of looking for movies that were released in a specific range of years (e.g. between 1990 and 2005). Currently I use for this two JSpinners, one for the minimum year and one for the maximum year and use cross validation to check whether maxYear >= minYear && minYear <= maxYear However I don't think this

OnePlus 3 & Oneplus 5 viewport size for chrome Emulated Devices

喜欢而已 提交于 2019-12-10 14:09:51
问题 I wanted to add OnePlus 3 and OnePlus 5 as custom devices in the emulated devices list of Google Chrome. Please provide the viewport size so that I can test my website with it. Example for pixel 2 display dimentions Thanks in Advance 回答1: I was searching for the same thing and I found this: https://www.mydevice.io/ OnePlus 5: 455x809 , pixel ratio 2.375 , user agent Mozilla/5.0 (Linux; Android 8.1.0; Build/OPM1.171019.011) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.158 Mobile