Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-ui-dev] New Look Reloaded - view layouts

Title: Message
Here are my suggested layouts for view stacks. <min> and <max> icons would be optional in all looks. <vmenu> is the optional button (the triangle) that holds view menu items. See also some notes at the end.
 
 
1. Classic coke
 
1.1. If everything fits on view title line:
 
+-----------------------------------------------------------------+
| <icon> Title (status)    <items...> <vmenu> <min> <max> <close> |
+-----------------------------------------------------------------+
|                                                                 |
|                                                                 |
+---------+      +------------------------------------------------+
 | Name | | Name | | Name |
 +------+ +------+ +------+
 
1.2. If too many items to fit on title line:
 
+-----------------------------------------------------------------+
| <icon> Title (status)               <vmenu> <min> <max> <close> |
+-----------------------------------------------------------------+
| <items..............>                                           |
+-----------------------------------------------------------------+
|                                                                 |
|                                                                 |
+---------+      +------------------------------------------------+
 | Name | | Name | | Name |
 +------+ +------+ +------+
 
1.3. If there is only one tab:
 
+-----------------------------------------------------------------+
| <icon> Title (status)    <items...> <vmenu> <min> <max> <close> |
+-----------------------------------------------------------------+
|                                                                 |
|                                                                 |
+-----------------------------------------------------------------+
 
1.4. If title line is turned off programatically (bug 5684, bug 58150):
 
+-----------------------------------------------------------------+
|                                                                 |
|                                                                 |
+-----------------------------------------------------------------+
 
1.5. If tabs are on top:
 
 +------+ +------+ +------+
 | Name | | Name | | Name |
+---------+      +------------------------------------------------+
| <icon> Title (status)    <items...> <vmenu> <min> <max> <close> |
+-----------------------------------------------------------------+
|                                                                 |
|                                                                 |
+-----------------------------------------------------------------+
 
 +------+ +------+ +------+
 | Name | | Name | | Name |
+---------+      +------------------------------------------------+
| <icon> Title (status)               <vmenu> <min> <max> <close> |
+-----------------------------------------------------------------+
| <items..............>                                           |
+-----------------------------------------------------------------+
|                                                                 |
|                                                                 |
+-----------------------------------------------------------------+
 
 
 
2. New coke
 
2.1. If everything fits on tab line, and there is no status:
 
+-----------------------------------------------------------------+
|                                                                 |
|                                                                 |
+---------+                     +---------------------------------+
 | Name | | <icon> Name <close> |   <items...> <vmenu> <min> <max>
 +------+ +---------------------+ 
 
2.2. If there is status:
 
+-----------------------------------------------------------------+
| status                                                          |
+-----------------------------------------------------------------+
|                                                                 |
|                                                                 |
+---------+                     +---------------------------------+
 | Name | | <icon> Name <close> |   <items...> <vmenu> <min> <max>
 +------+ +---------------------+ 
 
2.3. If there are too many items to fit on the tab line:
 
+-----------------------------------------------------------------+
| [status]                                             <items...> |
+-----------------------------------------------------------------+
|                                                                 |
|                                                                 |
+---------+                     +---------------------------------+
 | Name | | <icon> Name <close> |              <vmenu> <min> <max>
 +------+ +---------------------+ 
 
2.4. If there are too many items to fit on either the tab or title line:
 
+-----------------------------------------------------------------+
| status                                                          |
+-----------------------------------------------------------------+
| <items..............>                                           |
+-----------------------------------------------------------------+
|                                                                 |
|                                                                 |
+---------+                     +---------------------------------+
 | Name | | <icon> Name <close> |              <vmenu> <min> <max>
 +------+ +---------------------+ 
 
2.5. If tabs are on top:
 
 +------+ +---------------------+ 
 | Name | | <icon> Name <close> |   <items...> <vmenu> <min> <max>
+---------+                     +---------------------------------+
|                                                                 |
|                                                                 |
+-----------------------------------------------------------------+
 
 +------+ +---------------------+ 
 | Name | | <icon> Name <close> |               <vmenu> <min> <max>
+---------+                     +---------------------------------+
| [status]                                             <items...> |
+-----------------------------------------------------------------+
|                                                                 |
|                                                                 |
+-----------------------------------------------------------------+
 
 +------+ +---------------------+ 
 | Name | | <icon> Name <close> |               <vmenu> <min> <max>
+---------+                     +---------------------------------+
| status                                                          |
+-----------------------------------------------------------------+
| <items..............>                                           |
+-----------------------------------------------------------------+
|                                                                 |
|                                                                 |
+-----------------------------------------------------------------+
 
 
 
(Note I've made one change in the new look by always having <vmenu> stick with <min> and <max> instead of going wherever <items> go in both looks. This solves a problem with <vmenu> sometimes getting put on a line by itself (bug 58323).)
 
As you can see, in classic <min> and <max> belong to the view title bar, but in new they below to the tab folder. In classic there may not even be a tab line so having them be in the tab line is problematic, and also would put some icons at the top and some at the bottom which is not good for usability.
 
At one point the minimize and maximize functionality was put into ViewForm, then it was moved from there to CTabFolder. Does it not need to move again in order to accomodate the classic look? This would also help solve problems caused by the custom rendering and handling done on these "icons" in the current code (bug 55094, bug 58395) because presumably they'd be done in the workspace presentation code which could use actions and real tooltips and icons.
 
 

Back to the top