- contentLayout.SetFitHeight(0);
-
- mBeatControl = BeatControl::New();
- mBeatControl.SetName("BeatControl");
- mBeatControl.SetAnchorPoint( AnchorPoint::CENTER );
- mBeatControl.SetParentOrigin( ParentOrigin::CENTER );
- mBeatControl.SetResizePolicy( ResizePolicy::FILL_TO_PARENT, Dimension::ALL_DIMENSIONS );
- contentLayout.Add( mBeatControl );
- // beat control should fill the tableview cell, so no change to default parameters
-
- TableView actionButtonLayout = TableView::New( 1, 4 );
+ contentLayout.SetFitHeight(0); // Fill width
+
+ // Provide some padding around the center cell
+ TableView buttonLayout = TableView::New( 3, 3 );
+ buttonLayout.SetResizePolicy( ResizePolicy::FILL_TO_PARENT, Dimension::ALL_DIMENSIONS );
+ buttonLayout.SetFixedHeight(1, 100 );
+ buttonLayout.SetFixedWidth(1, 350 );
+ contentLayout.Add( buttonLayout );
+
+ mShadowButton = ShadowButton::New();
+ mShadowButton.SetName("ShadowButton");
+ mShadowButton.SetActiveState( false );
+ mShadowButton.SetAnchorPoint( AnchorPoint::CENTER );
+ mShadowButton.SetParentOrigin( ParentOrigin::CENTER );
+ mShadowButton.SetResizePolicy( ResizePolicy::FILL_TO_PARENT, Dimension::ALL_DIMENSIONS );
+ mShadowButton.SetProperty( DevelControl::Property::STATE, DevelControl::DISABLED );
+ mShadowButton.SetProperty( DevelControl::Property::SUB_STATE, "UNCHECKED" );
+
+ buttonLayout.AddChild( mShadowButton, TableView::CellPosition(1, 1) );
+
+ TableView actionButtonLayout = TableView::New( 1, NUMBER_OF_ACTION_BUTTONS+1 );