Announcement

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

    SGWT 5 - missing icons in grid submenu

    Hi,

    After switching to SGWT 5 I've noticed a problem with displaying icons in the menu item when it's attached to the ListGrid's header menu.

    Version: 5.0 pro (build: 2015-07-29)

    Screenshots are in attachments and an example code is here. It contains two cases:

    a) a submenu in the grid's header menu (missing icons)
    b) the same submenu outside the grid (icons are correctly displayed)

    It was tested under Chrome, but I don't think it's a browser problem, because case a) works under SGWT 4.1 on the same browser.

    Is there a way to fix it in SGWT 5?
    Attached Files

    #2
    Sorry, these screenshots are useless for debugging purposes. We need to see how you're providing those icons.

    Comment


      #3
      Originally posted by m.przybysz View Post
      Screenshots are in attachments and an example code is here.

      Click link to google drive above. Unfortunatelly this forum has attachment limitations, so I couldn't attach archived example source code directly to this thread.

      Comment


        #4
        These limits are there for a reason: test cases should be minimal, not whole projects, since whole projects can have many, many things wrong with them. For more information, see the FAQ and Debugging topic in the "docs" package in JavaDoc.

        Comment


          #5
          That example is minimal and contains only few classes, thought it would be easier to you to have a working runnable example. But if you say that's not convenient to you... ok then - see attachments, there are four java classes and a test icon.
          Attached Files

          Comment


            #6
            It looks like you probably didn't read the suggested resources: a runnable example is exactly what we want, which is why we want just a single Java file that can be dropped into the standard SDK projects. That's guaranteed to be runnable, and is the fastest thing for anyone to work with, since everyone here will typically have a test project already set up.

            In contrast, a full project can turn out to be not runnable for a huge list of reasons, and takes much much longer to work with.

            So next time, follow the directions and provide one file please - but we'll use these files as is and take a look.

            Comment


              #7
              Originally posted by Isomorphic View Post
              So next time, follow the directions and provide one file please - but we'll use these files as is and take a look.
              Thanks a lot, meanwhile we'll try to refactor our example according to your expectations.

              Comment


                #8
                Don't bother, we're already further along than that.

                Comment


                  #9
                  I see, but we did a little refactor anyway, so here's a test case in a single class.
                  Attached Files

                  Comment


                    #10
                    A follow up to let you know this isn't forgotten. We actually have the basic issue already resolved but there are some related bits of cleanup to complete. We'll follow up when we have things properly working for you.

                    Regards
                    Isomorphic Software

                    Comment


                      #11
                      Ok, no problem. Thanks for the feedback.

                      Comment


                        #12
                        We've now made a change to address this issue.
                        Please try the next nightly build, dated Aug 19 or above.
                        Regards
                        Isomorphic Software

                        Comment


                          #13
                          Works like a charm now, thank you.

                          Comment

                          Working...
                          X