http://www.aros.orgAROS-ExecTeam AROSAROS-Exec Archives

Home

English

Deutsch

Ελληυικά

Français

Italiano

Nederlands

Polski

Português

Русский

Español

Suomi

Svenska

Česky


Nyheter

Arkiv

Introduktion

Status
Skärmdumpar
Portningar
Licens

Nerladdning


Dokumentation

Användare
Installation
Användning
Shell commands
Applications
Frågor och svar
Utvecklare
Medverka
Roadmap
Bug Tracker
Arbeta med Subversion
Kompilering
Manual för applikationsutveckling
Manual för Zune applikationsutveckling
Manual för systemutveckling
Manual för debugging
Referens
Specifikationer
UI Style Guide
Dokumentering
Porting
Översättning
Sammanfattningar
Länkar

Kontakt

Mailing listor
IRC-kanaler

Medverkande

Acknowledgements


Bilder

Utvecklare
Utvecklare en Masse

Sponsorer

Länkning

Länkar

SourceForge Logo

User Interface Style Guide

Varning

This document is not finished! If you want to help rectify this, please contact us.

Windows

Preferences

Preferences windows are similar in appearance to dialog windows, in that they have a row of buttons along the bottom and no close gadget in the title bar.

ui/images/windows-prefs-titlebar.png

Example of a preferences window title bar. Notice the absence of the close gadget.

Rationale

There is no close gadget because it's semantics would be ambiguous. In other words, it would not be clear to the user exactly what the side effect of closing the window is. Does it save the preferences or abandons all changes?

The following set of buttons are always present, positioned horizontally along the bottom of the window (in this order, from left to right):

Test
Applies the settings in the window so that they take effect immediately. Does not close the window.
Revert
Restores the settings in the window to the state they were in when the window was opened and applies them immediately. Does not close the window.
Save
Applies the settings in the window immediately and saves them permanently [1]. Closes the window. If it is not possible to save the settings permanently (eg. if the disk where they would be saved is read-only) this button is ghosted.
Use
Applies the settings in the window immediately and saves them temporarily (only for this session) [2]. Closes the window.
Cancel
Restores the settings in the window to the state they were in when the window was opened and applies them immediately. Closes the window.

Layout

The buttons are divided into two groups, with Test and Revert in one and Save, Use and Cancel in the other where the former group is aligned to the left, and the latter is aligned to the right. There is a space between the two groups to separate them visually [3]. All buttons have the same width, which should be as small as possible (when resizing, only the space between the groups should grow and not the buttons).

ui/images/windows-prefs-buttons.png

Example of the row of buttons in a preferences window.

[1]Saves both to ENVARC: and ENV:.
[2]Saves only to ENV:.
[3]Notice that all buttons in the left group do not close the window, while all buttons in the right group do close the window.

Copyright © 1995-2008, The AROS Development Team. Alla rättigheter förbehålles.
Amiga®, AmigaOS®, Workbench och Intuition är varumärken som tillhör Amiga Inc. Alla andra varumärken tillhör sina respektive ägare.