Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    How to suppress edges of Window?

    Hi, in smartclient 8.2 I could suppress the edges (and header) of a Window, but in smartclient 8.3 and 11 I can not seem to suppress the edges.

    Using following:

    Code:
    isc.Window.create({
        showHeader:false,
        showEdges:false,
        border: "1px solid black",
        items: [
          isc.Label.create({height:1, contents: "test"})
        ]
    })
    In smartclient 8.2 (using 8.2 feature explorer) the result is:

    Click image for larger version

Name:	sc.8.2.png
Views:	81
Size:	820 Bytes
ID:	236952

    In smartclient 8.3 and 11 (using feature explorer):

    Click image for larger version

Name:	sc.8.3.png
Views:	72
Size:	983 Bytes
ID:	236953

    Is there a different technique for suppressing window edges in 8.3 and later?

    Many thanks.

    #2
    Is this possible? This is currently a block to us moving to smartclient 11.

    Comment


      #3
      Start by reading the Skinning overview and looking at the CSS styles applied.

      Comment


        #4
        Could you start by telling me what Window.showEdges is supposed to do? The docs http://www.smartclient.com/docs/11.0...ndow.showEdges doesn't actually say what it does, but seems to imply that if placement is e.g. "fillPanel" then you don't get edges. But even then you do get edges.

        In the html the "windowBody" element is being rendered out with an element style of left: 4px. Also if I set styleName: "" and bodyStyle: "" then I still get the edge. So not sure this has anything to do with css.
        Last edited by jason.saunders; 24 Apr 2016, 04:47.

        Comment


          #5
          Following your comment http://forums.smartclient.com/forum/...477#post199477 need to use layoutMarginRight/Left/Top/Bottom = 0.

          Comment

          Working...
          X