@classmethod
def getsizes(cls, k, min, defaults):
    """Helper function to provide sizes for splitter elements."""
    try:
        elem = len(defaults)
        for i in range(elem):
            if cls.conf['dims'][k][i] < min[i]:
                cls.conf['dims'][k] = min[i]
    except Exception:
        cls.conf['dims'][k] = defaults
    return cls.conf['dims'][k]
