Announcement

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

    Titleless SectionStackSection shows Untitled Button

    Hi,

    In SNAPSHOT_v8.3d_2012-07-03/Pro Deployment (built 2012-07-03) it seems creating a SectionStackSection without a title shows "Untitled Button" in the UI as title. Is there any reason for this or just a bug?



    bye,

    #2
    It's just the default value. Set to a blank string to create a section with no visible title.

    Comment


      #3
      Can I easily reset that default value to blank for the whole app rather than searching for sections which don't get a title set?

      Comment


        #4
        You could do this via either the skinning or i18n systems, but it's not clear that that's easier or better than explicitly putting a blank string for the title in the section, which makes your intent clearer.

        Comment


          #5
          I'd rather get this fixed in the framework somehow (default value to be "" empty string).

          * my previous build was one of February where I never saw "Untitled Button".


          Here's another place (not a section stack section), so how can I know all places where this text could be shown?
          (screenshot)
          Attached Files

          Comment


            #6
            Generally you would simply specify a blank title when you want a blank title.

            Once again, either the skinning or i18n systems would allow you to change the default value of button.title.

            Comment


              #7
              This is still giving me troubles :/

              Left is IE9 which doesn't show Untitled Button
              Right is FireFox.

              I am seeing gradients in IE9, so I figure it is using CSS3, but how does CSS affect or set this "Untitled Button" title?
              Attached Files

              Comment


                #8
                Aaaand I just found it :)

                It's in the load_skin.js file:
                if (useCSS3)

                I guess I'll fiddle with some components there to set title:null to solve this one.

                Comment


                  #9
                  err, in IE9 DEV CONSOLE:

                  Code:
                  Evaluator: result of 'isc.Browser.useCSS3' (6ms):
                  false
                  this is in
                  SNAPSHOT_v8.3d_2012-07-17/Pro Deployment (built 2012-07-17)


                  Is CSS3 mode then still not supported in full for IE9?
                  Is this coming in a later build?

                  Comment


                    #10
                    fixed by setting title to empty string in the load_skin.js in the CSS3 case:

                    Code:
                            //----------------------------------------
                            // 2) Buttons
                            //----------------------------------------
                            isc.Button.addProperties({
                                height:22,
                                baseStyle:"button",
                                title:""
                            });
                    edit: set empty string instead of null
                    Last edited by levi; 7 Aug 2012, 22:54. Reason: better fix

                    Comment


                      #11
                      Isomorphic I think this should be reported as a bug since the same code has different behavior on different browser.

                      Comment

                      Working...
                      X