gnome/extensions/dash-to-dock@micxgx.gmail.com/docking.js
/**
     * Just the child height but taking into account the slided out part
     */
Just the child height but taking into account the slided out part
Just the child height but taking into account the slided out part
vfunc_get_preferred_height(forWidth) {
        let [minHeight, natHeight] = super.vfunc_get_preferred_height(forWidth);
        if ((this.side ==  St.Side.TOP) || (this.side ==  St.Side.BOTTOM)) {
            minHeight = (minHeight - this._slideoutSize) * this._slidex + this._slideoutSize;
            natHeight = (natHeight - this._slideoutSize) * this._slidex + this._slideoutSize;
        }
        return [minHeight, natHeight];
    }
vfunc_get_preferred_height ( forWidth ) { let [ minHeight , natHeight ] = super . vfunc_get_preferred_height ( forWidth ) ; if ( ( this . side == St . Side . TOP ) || ( this . side == St . Side . BOTTOM ) ) { minHeight = ( minHeight - this . _slideoutSize ) * this . _slidex + this . _slideoutSize ; natHeight = ( natHeight - this . _slideoutSize ) * this . _slidex + this . _slideoutSize ; } return [ minHeight , natHeight ] ; }
Just the child height but taking into account the slided out part
Just the child height but taking into account the slided out part