public Container SetPad(float top, float left, float bottom, float right) { _padTop = new Value.Fixed(top); _padLeft = new Value.Fixed(left); _padBottom = new Value.Fixed(bottom); _padRight = new Value.Fixed(right); return(this); }
public Table pad( float top, float left, float bottom, float right ) { _padTop = new Value.Fixed( top ); _padLeft = new Value.Fixed( left ); _padBottom = new Value.Fixed( bottom ); _padRight = new Value.Fixed( right ); _sizeInvalid = true; return this; }
/// <summary> /// Sets the padTop, padLeft, padBottom, and padRight to the specified value /// </summary> /// <param name="pad">Pad.</param> public Container SetPad(float pad) { Value value = new Value.Fixed(pad); _padTop = value; _padLeft = value; _padBottom = value; _padRight = value; return(this); }
public Container SetPadRight(float padRight) { _padRight = new Value.Fixed(padRight); return(this); }
public Container SetPadBottom(float padBottom) { _padBottom = new Value.Fixed(padBottom); return(this); }
public Container SetMaxHeight(float maxHeight) { _maxHeightValue = new Value.Fixed(maxHeight); return(this); }
public Container SetPrefHeight(float prefHeight) { _prefHeightValue = new Value.Fixed(prefHeight); return(this); }
public Container setPadLeft(float padLeft) { _padLeft = new Value.Fixed(padLeft); return(this); }
public Container setMinHeight(float minHeight) { _minHeightValue = new Value.Fixed(minHeight); return(this); }
/// <summary> /// Padding at the right edge of the table. /// </summary> /// <returns>The right.</returns> /// <param name="padRight">Pad right.</param> public Table padRight( float padRight ) { _padRight = new Value.Fixed( padRight ); _sizeInvalid = true; return this; }
/// <summary> /// Padding at the bottom edge of the table. /// </summary> /// <returns>The bottom.</returns> /// <param name="padBottom">Pad bottom.</param> public Table padBottom( float padBottom ) { _padBottom = new Value.Fixed( padBottom ); _sizeInvalid = true; return this; }