Announcement

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

    #16
    I tried the build from today - the padding issues are fixed but now I have layouts that are rendering at 1px width. Let me know if you need a testcase. I'll try to isolate it.

    Comment


      #17
      Yes - if you can show us how to reproduce the problem please do.
      We will also be doing some more investigation on our end, but we haven't seen this issue, so it'd be very helpful to have a test case.

      Thanks
      Isomorphic Software

      Comment


        #18
        Here's a sample - this html shows a vlayout with a gridlayout as a child in previous build 8.2p 1-16-2013. If you open in 1-18-2013 build, it renders as width = 1px
        Attached Files

        Comment


          #19
          Note that though I do see vlayout width set to 1px, we rely on overflow:visible and the dynamic form's defaultWidth=100px property

          Comment


            #20
            We've made a change which should address this issue. Please try the next nightly build.

            Regards
            Isomorphic Software.

            Comment


              #21
              Thanks - everything seems to be working again. Will let you know if we find anything else

              Comment


                #22
                Everything looks good with the Jan 21st release (up to now). The only issue I've seen that remains
                so far is with a window where the showShadow property is set to true (the shadow is messed up).

                Other than that, looks promising ... Will update if we find anything else.

                Thanks!

                Comment


                  #23
                  We've seen this too. We will be getting it soon (next day or two)

                  Regards
                  Isomorphic Software

                  Comment


                    #24
                    I've noticed some of our layouts which are set to 100%, overflow:visible are being rendered with really big height values even though the content is only taking up less than half the size. This only happens in FF18. Reverting to FF12 fixes the issue

                    Comment


                      #25
                      post above should say "I've noticed some of our layouts which are set to height:100%"

                      Comment


                        #26
                        I've got an similar problem with forms. If the height of the form is set to 100%, it will draw its formitems so that they're using the whole height. Which means that there is too much space between them.
                        Here is the code which shows that behaviour.
                        By the way, i'm using html doctype 5 and v8.3p_2013-01-23/Pro Deployment


                        Code:
                        isc.VLayout.create({
                        	height: 300,
                        	width: 600,
                        	members: [
                        		isc.DynamicForm.create({
                        			ID: "form",
                        			height: "100%",
                        			fields: [
                        				{name: "field1", type: "select", objects: ['aa', 'bb']},
                        				{name: "field2", type: "text"},
                        				],
                        			values: {"field1": "aa"}
                        			})
                        		]
                        	});

                        Comment


                          #27
                          SmartClient 8.2p 01-23-2013 build

                          While trying to reproduce another FF18 issue, I was able to reproduce the last issue I mentioned. I ran this testcase with the datasource in isomorphic/system/reference/SmartClient_Explorer.html#nodeTitles

                          If you run the testcase, you'll see that 'innerLayout' height is expanded beyond what the dynamic form takes up.

                          Code:
                          isc.ClassFactory.defineClass("CwMenuItem", "CanvasItem");
                          
                          isc.CwMenuItem.addProperties({
                              init:function () {
                                  var canvasProperties = {
                                          ID: this.widgetID,
                                          title: this.menuTitle,
                                          name: this.name,
                                          canFocus: this.canFocus,
                                          shouldSaveValue: false,
                                          $cwname: this.$cwname,
                                          showDown: this.showDown,
                                          showFocused: this.showFocused,
                                          showEmptyMessage: false,
                                          showRollOver: this.showRollOver,
                                          labelVar: this.labelVar,
                                          iconVar: this.iconVar,
                                          iconWidth: this.iconWidth,
                                          iconHeight: this.iconHeight,
                                          align: this.menuAlign,
                                          showMenuButtonImage: this.showMenuButtonImage,
                                          showMenuBelow: true,
                                          $cwmethod: this.$cwmethod,
                                          click: this.cwClick,
                                          auditor: this.auditor,
                                          menu: this.menu,
                                          prompt: this.prompt,
                                          form: this.form,
                                          visibility: this.visibility,
                                          $cwValidate: this.$cwValidate,
                                          hide: function(){
                                              this.parentElement.hideItem(this.name);
                          //                    this.Super("hide", null);
                                          }
                                      };
                                  
                                  if (this.width != null)
                                      canvasProperties.width = this.width;
                                  if (this.height != null)
                                      canvasProperties.height = this.height;
                                  if (this.tabIndex == -1)
                                      canvasProperties.tabIndex = -1;
                                  if (this.accessKey != null)
                                      canvasProperties.accessKey = this.accessKey;
                                  if (this.hiliteAccessKey != null)
                                      canvasProperties.hiliteAccessKey = this.hiliteAccessKey;
                                  if (this.keyTitle != null)
                                      canvasProperties.keyTitle = this.keyTitle;
                                  if (this.autoFit != null) {
                                      canvasProperties.autoFit = this.autoFit;
                                      if (this.autoFit == true)
                                        canvasProperties.overflow = "visible";
                                  }
                                  if (this.iconOnRight != null)
                                      canvasProperties.iconOnRight = this.iconOnRight;
                                  if (this.hoverStyle != null)
                                      canvasProperties.hoverStyle = this.hoverStyle;
                                  if (this.hoverWidth != null)
                                      canvasProperties.hoverWidth = this.hoverWidth;
                                  if (this.customStyle != null)
                                      canvasProperties.customStyle = this.customStyle;
                                  if (this.baseStyle != null)
                                      canvasProperties.baseStyle = this.baseStyle;
                                  
                                  this.canvas = isc.MenuButton.create(canvasProperties);
                                  
                                  return this.Super("init", arguments);
                              }
                          });
                          
                          isc.ClassFactory.defineClass("CwDynamicFormExtend", "DynamicForm");
                          
                          isc.CwDynamicFormExtend.addProperties({
                          	setItems: function(itemList){
                          		if(this.$cwCellBorderStyle!=null){
                          			var i = 0;
                          			var length = itemList.length;
                          			
                          			for(i=0;i<length;i++){
                          				var currentField =  itemList.get(i);
                          				var currentCellStyle = currentField.cellStyle;
                          				if(currentCellStyle=="formCell" || currentCellStyle == null){
                          					currentField.cellStyle =  this.$cwCellBorderStyle;
                          				}
                          			}
                          		}
                          		this.Super("setItems", [itemList]);
                          	},
                          	
                              
                              showContextMenu: function() {
                              	var item = this.getFocusItem();
                          		if (item != null && item.cwDisablePaste) 
                          			return false;
                          		return this.Super("showContextMenu", arguments);
                              },
                              
                          	titleSuffix:"&nbsp;",
                          	rightTitlePrefix:"&nbsp;",
                          	requiredTitleSuffix: "*</B>",
                          	requiredRightTitleSuffix: "*</B>",
                          	requiredRightTitlePrefix: "<B> "
                          });
                          
                          
                          
                          
                          
                          isc.VLayout.create({
                          	ID:"outerLayout",
                          	autoDraw: true,
                          	height: "100%",
                          	members:[]
                          })
                          
                          isc.Button.create({
                          left: 500,title: "create and show",
                          click: function(){
                          
                          isc.TreeGrid.create({
                              ID: "employeeTree",
                              width: 500,
                              height: 400,
                              dataSource: "employees",
                              autoFetchData:true,
                              nodeIcon:"icons/16/person.png",
                              folderIcon:"icons/16/person.png",
                              showOpenIcons:false,
                              showDropIcons:false,
                              closedIconSuffix:"",
                              fields: [
                                  {name: "Name", formatCellValue: "record.Job+':&nbsp;'+value"}
                              ]
                          });
                          
                          isc.VLayout.create({
                          ID:"innerLayout",
                          members:[
                          	isc.CwDynamicFormExtend.create({
                          		ID:"menuForm", 
                          		fields: [
                          		{_constructor:"CwMenuItem", title:"Hide Menu", name: "hideMenu"}
                          		]
                          	})
                          ]
                          });
                          	outerLayout.addMember(innerLayout);
                          	outerLayout.addMember(employeeTree);
                          	
                          	
                          }
                          })

                          Comment


                            #28
                            I'm also having issues with my custom menu canvas item - whenever I call hide() on it, the tree refuses to draw properly. This is only broken in FF18 and unfortunately I am unable to reproduce as a standalone as of yet.

                            Comment


                              #29
                              Are there any news about the issue, which i've reported yesterday?
                              In our published version we're still using a smartclient version which contains the ff18 button bug. Since then we're waiting for a version, which does not have any issues that affect our product.
                              The current issue is the last show stopper we've got, so we would appreciate it if you could fix this issue asap.
                              If you have a look at the screenshot you'll see the result of the formitem stretching

                              Regards Marcus
                              Attached Files

                              Comment


                                #30
                                Hi,
                                the forms are working as expected in "v8.3p_2013-01-25/Pro Deployment".
                                Thank you for the quick fix.

                                Regards Marcus

                                Comment

                                Working...
                                X