Announcement

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

    Vertical align: picker icons

    The icons are aligned vertically instead of horizontally.


    1. the SmartGWT or SmartClient version and browser version(s) involved;
    SmartGWT-2.2, Firefox and Safari

    2. for a server-side problem, nothing to see

    3. for a client-side problem, the contents of the Developer Console, nothing to see

    4. no JavaScript error

    5. sample code: (Just as ShowCase): Attached
    Attached Files

    #2
    Odd.
    What happens if you use FormItemIcon instead of PickerIcon?

    Comment


      #3
      It's the same.

      There is a function called "setIconVAlign(VerticalAlignment p)" but, obviously does nothing. They isn't setIconHAlign..

      I attached source and screenshot.
      Attached Files

      Comment


        #4
        Are you seeing this only in Safari? Do you have a doctype declaration in your host html file? If so, try removing it and rerun your sample.

        Sanjiv

        Comment


          #5
          With the statement "<!doctype html>", it fails in both browsers (Firefox and Safari). I tried without this statement and so, it works fine. I tried also with one of these Doctype Declarations: http://www.w3.org/QA/2002/04/valid-dtd-list.html

          This is the result:

          Code:
          FIREFOX    |	SAFARI		DOCTYPE:				
          OK                   OK                    no doctype
          FAIL                 FAIL                 <!doctype html>			
          OK                   OK                   <!doctype html public>
          OK                   FAIL                 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
          Thanks you!

          Comment


            #6
            Hi Sanas,
            This should be resolved as of the latest nightly build - please let us know if you continue to see this

            Thanks

            Comment

            Working...
            X