Description

Set the split ratio between panes widget first and second parts.

By default it's homogeneous, i.e., both sides have the same size.

If something different is required, it can be set with this function. For example, if the first content should be displayed over 75% of the panes size, ratio should be passed as 0.75. This way, second content will be resized to 25% of panes size.

If displayed vertically, first content is displayed at top, and second content at bottom.

This ratio will change when user drags the panes bar.

Values

  • ratio - Value between 0.0 and 1.0 representing split ratio between panes first and second parts.

Signature

@property split_ratio {
    get {
        values {
            ratio: double;
        }
    }
    set {
        values {
            ratio: double;
        }
    }
}

C signature

double efl_ui_panes_split_ratio_get(const Eo *obj);
void efl_ui_panes_split_ratio_set(Eo *obj, double ratio);

Implemented by

  • Efl.Ui.Panes.split_ratio