Announcement

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

    Curved corners on SmartGWT?

    Hi,
    I'm developing an application that needs curved corners and a border on my window panels. Any suggestions on how to achieve this? Just put corner images in each corner?

    #2
    See the skinning guideand the setShowEdges() property and related properties.

    Comment


      #3
      Thanks, I've gotten the edges to look the way I would like them to, except the top border. Even though I set setShowHeader to false, the header size is still 23 and the Window class does not seem to have a method to change this value. How can I change this?

      Comment


        #4
        Set edgeTop to the height you want for the top edge.
        Last edited by Isomorphic; 28 Jul 2009, 11:10.

        Comment


          #5
          This is what I would like to do, and my question was, how do I do this? I don't see any such method in the Window class, just setEdgeSize(int).

          EDIT: Found it in load_skin.js
          Last edited by jcee14; 28 Jul 2009, 11:14.

          Comment


            #6
            Glad you already found it - yes this is something you currently have to do via JS/JSNI but we're likely to add SmartGWT Java methods for it too.

            Comment


              #7
              how control corners

              Hello,

              Using smart gwt 3.1 pro

              How do I change the corner from the default curved in the top right and left of a Window widget to square?

              Thanks,
              Evan

              Comment

              Working...
              X