473,387 Members | 1,425 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Style Guide, Missing UI Elements

Hello there!

I am a User Interface Designer at a company that only makes web apps.
I am fluent in HTML, Javascript and Graphics programs. Now we are
making a compiled app with VS05 in C#, and I have to make the forms by
primarily drag'n'dropping controls using the WYSWIG editor built into
VS05. I have these questions:

QUESTION 1. Is there a horizontal rule, or vertical pipe, to visually
separate the layout?
BACKGROUND 1: One of the programmers suggested I use 1 pixel panels,
and another said he could program a "custom control" for me, but I find
it hard to believe this tool doesn't exist. Maybe I should use an
image?

QUESTION 2. How do you "right justify" or "center" text?
BACKGROUND 2: The "Label" control behaves funny if you "right anchor"
it. One of the programmers recommended using a "TextBox" with
"Readonly=True", which seems to give better "right justification"
behavior. What about centering?

QUESTION 3. Relating to #2, the app we are making has several small 3x3
grids with changing labels and data, but always 3x3. How shoud I make
these?
BACKGROUND: In HTML, I would make a small table, use CSS to position
contents of each cell. The programmer said use "Labels" or
"TextBoxes". I see the "DataGrid" control, but I guess this is
overkill? Any other "small table" controls I am missing?

QUESTION 4. Ok, this is a biggie. Is there a "Style Guide" for making
Windows Apps? We have our own inhouse "Style Guide" for Web Apps,
where "popups bahave this way", and "Man Windows use this background
color and a 1px outline", etc. But this isn't a Web App. I wonder if
there is a general guide that is available that lays out how to control
look and behavior of for a generic WIndows Application?

Thanks for reading this,
Ann Giggy

Jan 24 '07 #1
2 1943
Hello Giggle,

Ask this on the aspnet groups. There are more web geeks :)

GGQUESTION 1. Is there a horizontal rule, or vertical pipe, to
GGvisually separate the layout?
GGBACKGROUND 1: One of the programmers suggested I use 1 pixel panels,
GGand another said he could program a "custom control" for me, but I
GGfind
GGit hard to believe this tool doesn't exist. Maybe I should use an
GGimage?

generaly they use 1pixel gif for this

GGQUESTION 2. How do you "right justify" or "center" text?
GGBACKGROUND 2: The "Label" control behaves funny if you "right
GGanchor"
GGit. One of the programmers recommended using a "TextBox" with
GG"Readonly=True", which seems to give better "right justification"
GGbehavior. What about centering?

add style="text-align: center;" for example
btw, instead of <lableu can use <spantag

GGQUESTION 3. Relating to #2, the app we are making has several small
GG3x3
GGgrids with changing labels and data, but always 3x3. How shoud I
GGmake
GGthese?
GGBACKGROUND: In HTML, I would make a small table, use CSS to position
GGcontents of each cell. The programmer said use "Labels" or
GG"TextBoxes". I see the "DataGrid" control, but I guess this is
GGoverkill? Any other "small table" controls I am missing?

If you don't need grid specific functionality (like sorting or etc) then
using tables is good.
Btw, even if you are requeired extended grid functionality you can perform
this via client script - not using server's asp.net controls - but it depends
on functionality

GGQUESTION 4. Ok, this is a biggie. Is there a "Style Guide" for
GGmaking Windows Apps? We have our own inhouse "Style Guide" for Web
GGApps, where "popups bahave this way", and "Man Windows use this
GGbackground color and a 1px outline", etc. But this isn't a Web App.
GGI wonder if there is a general guide that is available that lays out
GGhow to control look and behavior of for a generic WIndows
GGApplication?

1) I'd recommed to meet all WCAG guidelines.
2) look at Vista UI layout guidelines http://msdn2.microsoft.com/en-us/library/aa511279.aspx
it's appropriate for desktop and web apps
3) Use Web Expression editor, it helps your to design and validate your HTML
---
WBR,
Michael Nemtsev [C# MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo
Jan 24 '07 #2


"Giggle Girl" <mi*******@gmail.comwrote in message
news:11**********************@j27g2000cwj.googlegr oups.com...
Hello there!

I am a User Interface Designer at a company that only makes web apps.
I am fluent in HTML, Javascript and Graphics programs. Now we are
making a compiled app with VS05 in C#, and I have to make the forms by
primarily drag'n'dropping controls using the WYSWIG editor built into
VS05. I have these questions:

QUESTION 1. Is there a horizontal rule, or vertical pipe, to visually
separate the layout?
BACKGROUND 1: One of the programmers suggested I use 1 pixel panels,
and another said he could program a "custom control" for me, but I find
it hard to believe this tool doesn't exist. Maybe I should use an
image?

QUESTION 2. How do you "right justify" or "center" text?
BACKGROUND 2: The "Label" control behaves funny if you "right anchor"
it. One of the programmers recommended using a "TextBox" with
"Readonly=True", which seems to give better "right justification"
behavior. What about centering?

QUESTION 3. Relating to #2, the app we are making has several small 3x3
grids with changing labels and data, but always 3x3. How shoud I make
these?
BACKGROUND: In HTML, I would make a small table, use CSS to position
contents of each cell. The programmer said use "Labels" or
"TextBoxes". I see the "DataGrid" control, but I guess this is
overkill? Any other "small table" controls I am missing?

QUESTION 4. Ok, this is a biggie. Is there a "Style Guide" for making
Windows Apps? We have our own inhouse "Style Guide" for Web Apps,
where "popups bahave this way", and "Man Windows use this background
color and a 1px outline", etc. But this isn't a Web App. I wonder if
there is a general guide that is available that lays out how to control
look and behavior of for a generic WIndows Application?

Thanks for reading this,
Ann Giggy

I'm assuming this is for a windows forms application since you mentioned
this in Question #4...

#1:

No, there is not. What you can do is override the form's OnPaint method and
draw the line where you want it and how you want it. You have full control
over this now, instead of just using a "horizontal rule".

#2:

right justification? TextAlign property = MiddleRight work for you?

#3:

Not for windows forms. You can use the ListView control and set the View
property to Details...this may or may not work for you. Other than that,
you would have to create your own or just layout the controls on the form to
appear as a table...afaik. After doing a little research, I got a hit on
the TableLayoutPanel control, but not sure what it is. Didn't even read up
on it, but may be of some use to you:
http://msdn2.microsoft.com/en-us/library/ms171689.aspx

#4:

Microsoft has it's Standards for making windows forms applications, maybe
you can start there?
http://msdn.microsoft.com/msdnmag/is...dvancedBasics/
http://msdn2.microsoft.com/en-us/library/ms184411.aspx

There are also tons of other pages on Microsoft's site that show best
practices and guidelines...
HTH,
Mythran

Jan 24 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

21
by: Christian Seberino | last post by:
Linux kernel style guide, Guido's C style guide and (I believe) old K&R style recommends 8 SPACES for indent. I finally got convinced of wisdom of 8 space indentation. Guido also likes 8 space...
22
by: beliavsky | last post by:
Is there a more recent set of Python style guidelines than PEP 8, "Style Guide for Python Code", by van Rossum and Warsaw, at http://www.python.org/peps/pep-0008.html , which is dated July 5, 2001?
4
by: Leif K-Brooks | last post by:
The style guide says that a wrapped line should be aligned with where the wrapped part started. But what is the most readable thing to do when that's impossible? For instance (ignore the wrap...
0
by: Anne van Kesteren | last post by:
Ok, here it goes. Originally I submitted this proposal to www-style. Since I don't get feedback there, I think I missed a few (maybe a lot) of points. Proposal:...
8
by: TJ Walls | last post by:
Hello All, I am fairly new to html authoring and have run into a strange problem. I have a simple GIF file that is a black horizontal line. As a test start I am trying to display it twice with...
4
by: sp | last post by:
Hello everybody, How can I create xsl for the following xml? ******************************************************* <?xml version="1.0"?> <result state="success"> <row> <column...
1
by: RayS | last post by:
I've begun a Python module to provide a complete interface to the Meade LX200 command set, and have searched for a style/development guide for Python Lib/site-packages type modules, but only saw...
4
by: Fredrik Lundh | last post by:
(reposted from doc-sig, which seems to be mostly dead these days). over at the pytut wiki, "carndt" asked: Are there any guidelines about conventions concerning punctuation, text styles and...
10
by: Torsten Mueller | last post by:
Where does it come from to make spaces everywhere but not between a keyword and a condition? I'm confronted with code looking like that: if( x == 3 && y == 7 && z == 1024 ) { for( int i = 0; i...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.