Questions tagged [design-guidelines]
89 questions
3
votes
4 answers
Is it a good practice to perform initialization within a Property?
I have a class PluginProvider that is using a PluginLoader component to load plugins (managed/native) from the file system. Within the PluginProvider class, there is currently defined a property called 'PluginTypes' which calls the…

Nacharya
- 229
- 2
- 8
3
votes
1 answer
What is the best way to use inline CSS to position elements around a block specified by an external stylesheet?
How do I specify a position for the form generated part of this page and then use inline CSS to place elements around it?
https://org2.democracyinaction.org/o/6351/p/salsa/event/common/public/?event_KEY=50926
Our half-baked temporary solution uses…

David Corson-Knowles
- 31
- 3
2
votes
0 answers
When is it acceptable to declare an instance attribute outside "__init__()"?
I will start by describing the dilemma I'm currently facing. I've a class (let's call it NeatClass). It has several instance attributes, all of which I declare, as usual, within the class' __init__() method. I'm adding a new method (let's call it…

Talendar
- 1,841
- 14
- 23
2
votes
3 answers
Is it good practice to add new classes to framework namespaces?
A long time ago, I remember reading a quite strong recommendation from Microsoft against adding your own classes to framework namespaces. I've been unsuccessfully searching for it.
The main reason I remember is that a subsequent version of the…

Iain Galloway
- 18,669
- 6
- 52
- 73
2
votes
5 answers
Elegant and maintainable way of populating Tree structures in c#
I have a Tree.
class TreeNode {
public TreeNode(string name, string description) {
Name = name;
Description = description;
}
string Name { get; set; }
string Description { get; set; }
public List…

Sam Saffron
- 128,308
- 78
- 326
- 506
2
votes
1 answer
What behaviour is pereferable for Apple Pay button if no cards in the wallet?
I was looked through the apple guidelines but did not found anything about this question.
Additional info:
I have added Apple Pay button to app and hide it if there are no capabilities (e.g., cards) to pay with. But customer does not like it and…

Oleg Kosuakiv
- 174
- 2
- 15
2
votes
1 answer
Toolbar in Tab Bar Controller
I am new with IOS interface designing and I am curious about if I can put toolbar in tab and if this would no be against guidlines. What I am trying to accomplish is to have two tabs with toolbar that saves data, erase and quick load (same for both…

Jarosław Krajewski
- 520
- 1
- 7
- 18
2
votes
4 answers
Hide or Disable? In this example and in general
I have the following set of controls.
Scenario 1:
If you select one of the first 3 radio buttons and click enter, focus will jump to the Passport Number text box. If the user selects "Other", the "Other, Please Specify" textbox is enabled and, for…

Chad
- 23,658
- 51
- 191
- 321
2
votes
3 answers
Chrome Apps UX guidelines
In the Google Cast SDK Overview video published on YouTube by Google, the presenter says
There are design implications that are driven from the Design Checklist so in addition to the platform specific guidelines for Android, iOS and Chrome, it is…

user7610
- 25,267
- 15
- 124
- 150
2
votes
2 answers
What are the style guidelines for tabs in Android 3.0?
The next websites give explanation and guidelines of how to style the tabs and icons on android up to Android 3.0 (honeycomb) excluding this…

android developer
- 114,585
- 152
- 739
- 1,270
2
votes
1 answer
What are the official Android recommendations for tabs?
I have to say I'm pretty lost when it comes to designing tabbed layouts on Android right now. The platform developers seem to be evolving the design faster than I can figure out their intentions.
From what I can gather from the combination of the…

Jeff Axelrod
- 27,676
- 31
- 147
- 246
2
votes
2 answers
guidelines for opening safari from an iPhone app
Are there any usability guidelines around opening a website in safari from an iPhone app?
Example: I have a button in my app, that when tapped takes the user to a website in safari - this closes my app and opens safari.
To me, it seams kinda crappy…

vedran
- 1,145
- 2
- 13
- 19
1
vote
1 answer
Adding a legend for colors in ListView WinForms C#
I have simple ListView with few columns and it's populated with data with background colors. There's like 5 colors in use so I would like to nicely show them next to ListView for easy reminder especially for people who list things once a month.
Are…

MadBoy
- 10,824
- 24
- 95
- 156
1
vote
2 answers
What layout is better for a UI with two card cells per row?
What is an optimal way to create a grid view for iOS with two columns per row as shown in the screenshot?
I am currently using tableview with static cells, but the UI gets distorted on some iPad. Also how best to arrange the grid border? Currently…

John Doe
- 2,225
- 6
- 16
- 44
1
vote
1 answer
Changing Atom editor copy/paste behavior
The Atom editor is a very good product, but in some areas it attempts to deviate from long standing user interface standards for operating systems, which can extremely annoying.
For example, on a Mac running OS/X, all apps compliant with Apple's…

Juan Jimenez
- 443
- 4
- 18