Code Monkey home page Code Monkey logo

Comments (4)

reynardmc22 avatar reynardmc22 commented on June 16, 2024

Appears the default for borderless overrides config.borderless.

This is in the view control _set_inner(config)

Setting this to use the config.borderless over the defaults.borderless fixes the issue. Below is what i used to fix the issue, might not be the best way to fix the issue.

//deside, will component use borders or not
_set_inner:function(config){
    /*jsl:ignore*/
    if (config && config.borderless == true) {
    } else if (this.defaults.borderless === true){
        //button
    } else if (config.borderless && this.defaults.borderless !== false){
        //really borderless
    } else {
        this._contentobj.style.borderWidth="1px";
    }
    /*jsl:end*/

    if (config && !config._inner){
    if (config && config.borderless == true) {
            this._settings._inner = {};
    } else if (this.defaults.borderless || (config && config.borderless)){
            this._settings._inner = { top:true, left:true, bottom:true, right:true };
        } else
            this._settings._inner = {};
    } else if (this.defaults.borderless)
        config._inner = { top:true, left:true, bottom:true, right:true };
},

from webix.

mkozhukh avatar mkozhukh commented on June 16, 2024

Problem confirmed, fix will be included in the next buidl
( we have applied a bit different fix, but above one has not visible drawbacks as well )

from webix.

reynardmc22 avatar reynardmc22 commented on June 16, 2024

That is fine, my knowledge on the library itself is pretty basic. Greatly appreciate the speed at which bugs are fixed.

from webix.

mkozhukh avatar mkozhukh commented on June 16, 2024

Updated build is available at http://docs.webixui.com/builds/

from webix.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.