Why margins never work in List Items?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Why margins never work in List Items?

Phyo Arkar
    "custom-listitem": {
      style: function(states) {
        return {
          paddingTop: 8,
          paddingLeft: 8,
          paddingRight: 8,
          marginBottom: 20,
          backgroundColor: "white",
          decorator: states.selected ? "chatitem" : "chatitem"
        };
      }

Margin rules are NEVER got applied. WHY?

------------------------------------------------------------------------------

_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Reply | Threaded
Open this post in threaded view
|

Re: Why margins never work in List Items?

Phyo Arkar
And I mean virtualList's custom widget items , not form.List .

On Mon, Aug 17, 2015 at 3:39 AM, Phyo Arkar <[hidden email]> wrote:
    "custom-listitem": {
      style: function(states) {
        return {
          paddingTop: 8,
          paddingLeft: 8,
          paddingRight: 8,
          marginBottom: 20,
          backgroundColor: "white",
          decorator: states.selected ? "chatitem" : "chatitem"
        };
      }

Margin rules are NEVER got applied. WHY?


------------------------------------------------------------------------------

_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel