You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: VBoxFlex.m
    path of file: ./repos/opticka/ui/+uix
    
    the code of the file until where you have to start completion: classdef VBoxFlex < uix.VBox & uix.mixin.Flex
    %uix.VBoxFlex  Flexible vertical box
    %
    %  b = uix.VBoxFlex(p1,v1,p2
    
function redraw( obj )
            %redraw  Redraw contents
            %
            %  c.redraw() redraws the container c.
            
            % Call superclass method
            redraw@uix.VBox( obj )
            
            % Create or destroy row dividers
            q = numel( obj.RowDividers ); % current number of dividers
            r = max( [numel( obj.Heights_ )-1 0] ); % required number of dividers
            if q < r % create
                for ii = q+1:r
                    divider = uix.Divider( 'Parent', obj, ...
                        'Orientation', 'horizontal', ...
                        'BackgroundColor', obj.BackgroundColor );
                    obj.RowDividers(ii,:) = divider;
                end