KNOWLEDGE BASE

Unexpected Scrollbars When Adding Borders to Layout Containers


Published: 14 Nov 2017
Last Modified Date: 12 Mar 2018

Issue

After you add a vertical container inside a vertical container with at least two worksheets in it, and give the inner vertical container a border, unexpected scrollbars appear on one or more of the worksheets. 
 

Environment

Tableau Desktop 10.4 - 10.5

Resolution

Use one of the following workarounds.

Option 1

Manually resize the layout container.
Note: this method will prevent the layout container from automatically resizing.

Option 2

Use the drop-down menu in the toolbar to set the affected worksheets to Fit Height or Entire View.

Option 3

  1. Place each affected worksheet inside its own horizontal layout container inside the nested vertical layout containers.
  2. Give each affected layout container the same amount of outer padding.
There is some flexibility in the amount of padding added, and the correct amount will depend on the thickness of the border used. Typically 2 top and bottom outer padding works well.
 

Cause

This behavior occurs because of the way the size for layout containers is determined.
 
Did this article resolve the issue?