Tile Tabs Configuration
Tile Tabs Configuration contains options for different ways to arrange Viewing Tabs in the Viewing Area

dialog

Tile Tabs Configuration in Workbench Window

This section contains the tile tabs configuration for the selected Workbench Window.  If a Scene is saved, the selected Configuration is saved to the Scene and is restored when the Scene is displayed.

Aspect Locking

If the window and/or tab aspect ratios are locked, this may cause problems with tile tabs editing. It is best to lock aspect ratios after editing the tile tabs configuration.

Workbench Window 


Selects the window for control of the window's Tile Tabs Configuration

Active Configuration Type

Manual Set Button

On the right side of the Manual Selection (Round) Button is a button titled "Set..".  When "Set.." is clicked, a menu appears that allows the user set initialize the size and position of the tabs using using a grid.

Since a user may have tile tab configurations that are useful with other data sets, options are available to save the current configuration or initialize the current configuration with a previously saved User Configuration.  In addition, Template Configurations are available to initialize the geometry of a configuration.

Active Configuration Settings


dialog

Custom Grid Rows/Columns Editing

Explanation of Stretching


The space allocated to a row is determined by a combination of the Stretching Type and the Stretching Value.  (Note that row and column stretching function identically but along different axes) as described below.

Percentage Stretching Type

When a row's Type is set to Percentage, that row is allocated the associated Percentage value of the window's height.  Thus, if the row's Percentage Height is 20% and the Window is 1000 pixels in height, the row is 200 pixels in height.  The Percentage value for each row should be in the range 0% to 100%.  If the rows that use Percentage sum to more than 100%, then part or all of the last rows may not be displayed (likewise for columns).  If there are no rows/columns that use Weight, then there may be blank unused space, depending on the percentages used."
Example of Percentage Stretching

Result for a Window 1000 pixels in height:

Weighted Stretching Type

When a row's Type is set to Weight, the Height of the row is affected by Stretching Values of all Rows with the Stretching Type set to Weight.  To determine the height of the a row, the weights from all rows are summed and the row's weight is divided by the sum.  This result (row's weight divided by sum) becomes the percentage of the window's height allocated to the row.
Example of Weighted Stretching

Result for a Window 1000 pixels in height (Note: sum of weights is 4.0):


Combination of Percentage and Weighted Stretching

When both Percentage and Weighted Stretching are used, rows with Percentage stretching are assigned their requested height percentage and any remaining space is allocated to rows with weighted Stretching.
Example of Percentage and Weighted Stretching

Result for a Window 1000 pixels in height (Note: Sum of Percentages is 50% and Sum of Weights is 3.0):

Now Suppose a 5th row is added with a Weight of 1.0 (the Sum of Weights is 4.0).  Notice that the Percentage Type rows remain the same height and the Weighted Type rows shrink in height to accommodate the new row:
Summary of Percentage and Weighted Stretching

The advantage of using Percentage stretching is that the row will be allocated the requested percentage of the window's height.  The disadvantage of Percentage Stretching is that if all rows use Percentage Stretching, and a row is added or removed, the user will need to adjust the stretching percentages to ensure all rows are visible (when a row is added) or to remove empty space (when a row is removed).

The advantage of Weighted stretching is that all of the vertical space will be used and the available space is automatically reallocated when a row is added or removed.  The disadvantage is that if rows use different weights, calculations are required to get the desired row heights.

In some instances using both Percentage and Weighted Stretching may be best.   One such instance is when the first row's Content is set to Spacer and Annotation are added to the Spacer Row for use as Column Titles.  In this case, the recommendation is to use Percentage for this Row and Weight for the Rows below containing the Brain Models.  As Rows for Brain Models are added as removed, the Column Titles will remain the same size and the Rows containing the Brain Models will occupy all of the remaining vertical space.

Manual Editing

dialog

In a manual configuration, the user is responsible for the placement and sizing of the tab. 


More powerful controls for editing a manual layout are available in Tile Mode (Select "Tile" in Mode section of the Toolbar).

Configuration Library

The Configurations Library section  contains configurations that have been created by the user and configurations provided by wb_view.    These User Configurations are saved in the user's preferences and thus are available in future Workbench sessions for that user.  The Template Configurations are provided by wb_view.  While the Template Configurations are not editable by the user, the user may load a Template Configuration as the Current Configuration, edit it, and then save it as a User Configuration.  The name of each configuration is followed by a letter and number in parenthesis.  The number indicates the number of tabs in the configuration and the letter indicates the type of configuration, G=Grid, M=Manual.

Configuration Loading and Saving

Configuration Preview

The preview shows an outline of the tabs in the selected Template or User Configuration so that the user can see the resulting layout of tabs.

Tile Layout Editing Toolbar in Main Window

dialog

The toolbar is visible when "Tile Layout" mode is selected.

Located in the Mode section of the Toolbar is a mode named “Tile Layout”.  When in Tile Layout Mode, controls are added at the bottom of the Toolbar for editing the active tile tabs configuration.  For a manual layout, all numerical values in the editing controls are in Window Percentages with zero percent at the bottom/left and one-hundred percent at the right/top. When the window aspect is locked, some regions of the window are not available in order to maintain the aspec. These regions are highlighted with a stipple pattern.
If multiple tabs are selected and the tabs have a different values for one of the numerical values, the numerical value is followed by a plus (+) sign.  When one of the numerical values is changed, it is applied to all selected tabs.  This may be useful in some situations.  Suppose one wants two tabs to have the same left bound.  Simply select both tabs (click tabs while holding down the SHIFT key), type the desired value in the Left numerical control, and press the Return key.

Tips for Manual Configuration Editing

Format Menu


Dialog


Context Sensitive Menu on Tabs in Tab Bar


menu


This menu is displayed by right-clicking a tab in the tab bar at the top of the window.  The selections at the top of the menu are new.

The Active Tab is the tab that is selected and may be different than the tab that is under the mouse.

Context Sensitive (right-click) Menu in Window


Menu

This menu is displayed by right-clicking in the graphics region (are where brain models are drawn).


Moving and Resizing Tabs with Mouse

Select a Tab using the Mouse


Move a Tab using the Mouse

Resize a Tab using the Mouse


Moving Multiple Tabs using the Mouse

Redo/Undo

The Tile Toolbar contains Redo and Undo button in the Edit section.  If a mistake is made while editing changing at tab's geometry, clicking the Undo button will revert the most recent modification and may be clicked again to further revert modifications.