Announcement

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

    Problem with RibbonGroup and setWidth100

    I have a problem with 6.1 version Build:27/12/2017 10:16:00 .
    If i create a RibbonGroup and i setWidth100 , always i have this error

    (TypeError) : Cannot read property 'getVisibleWidth' of undefined -[qtp1125984252-106 - *.DashboardAdministration]

    com.google.gwt.core.shared.SerializableThrowable/2791287161 -[qtp1125984252-106 - *.DashboardAdministration]
    (TypeError) : Cannot read property 'getVisibleWidth' of undefined -[qtp1125984252-106 - *.DashboardAdministration]
    com.google.gwt.core.client.JavaScriptException -[qtp1125984252-106 - *.DashboardAdministration]
    [Ljava.lang.StackTraceElement;/3867167983 -[qtp1125984252-106 - *.DashboardAdministration]
    java.lang.StackTraceElement/455763907 -[qtp1125984252-106 - *.DashboardAdministration]
    Unknown -[qtp1125984252-106 - *.DashboardAdministration]
    isc_ToolStripGroup__updateLabel -[qtp1125984252-106 - *.DashboardAdministration]
    http://192.168.6.5:8888/dashboardadm...7-12-27.js@419 -[qtp1125984252-106 - *.DashboardAdministration]
    isc_ToolStripGroup_resized -[qtp1125984252-106 - *.DashboardAdministration]
    http://192.168.6.5:8888/dashboardadm...7-12-27.js@134 -[qtp1125984252-106 - *.DashboardAdministration]
    isc.B.push.isc.A.$5y -[qtp1125984252-106 - *.DashboardAdministration]
    http://192.168.6.5:8888/dashboardadm...17-12-27.js@74 -[qtp1125984252-106 - *.DashboardAdministration]
    isc_Canvas__completeResizeBy -[qtp1125984252-106 - *.DashboardAdministration]
    http://192.168.6.5:8888/dashboardadm...17-12-27.js@32 -[qtp1125984252-106 - *.DashboardAdministration]
    isc_Canvas_resizeBy -[qtp1125984252-106 - *.DashboardAdministration]
    http://192.168.6.5:8888/dashboardadm...017-12-27.js@6 -[qtp1125984252-106 - *.DashboardAdministration]
    isc_Canvas_resizeTo -[qtp1125984252-106 - *.DashboardAdministration]
    http://192.168.6.5:8888/dashboardadm...7-12-27.js@446 -[qtp1125984252-106 - *.DashboardAdministration]
    isc_Canvas_init -[qtp1125984252-106 - *.DashboardAdministration]
    http://192.168.6.5:8888/dashboardadm...17-12-27.js@89 -[qtp1125984252-106 - *.DashboardAdministration]
    isc_Class_completeCreation -[qtp1125984252-106 - *.DashboardAdministration]
    isc_c_Class_create -[qtp1125984252-106 - *.DashboardAdministration]
    http://192.168.6.5:8888/dashboardadm...-12-27.js@1837 -[qtp1125984252-106 - *.DashboardAdministration]
    O2m_g$ -[qtp1125984252-106 - *.DashboardAdministration]


    This is an example of code

    private RibbonGroup getFormTime()
    {
    RibbonGroup groupTime = new RibbonGroup();
    groupTime.setTitle("Orari");
    groupTime.setAlign(Alignment.CENTER);

    DynamicForm formTime = new DynamicForm();
    formTime.setAlign(Alignment.CENTER);
    timeItemInizio = new TimeItem("tempoinizio", "Ora Inizio");
    timeItemFine = new TimeItem("tempoFine", "Ora Fine");
    formTime.setFields(timeItemInizio, timeItemFine);
    groupTime.setControls(formTime);
    //groupTime.setWidth100();//This command id uncomment generate exception when i add the RibbonGroup to any Canvas
    return groupTime;
    }

    #2
    RibbonGroups are not added to any Canvas - they're added to RibbonBars.

    Comment


      #3
      i try to add to ribbonbar and this to hlayout but with the groupTime.setWidth100(); i have the same problem...

      Comment


        #4
        i have the error when i add the ribbongroup to ribbonbar...

        Comment


          #5
          Ah, ok - we'll take a look.

          Comment


            #6
            This has been fixed for builds dated January 26 and later.

            Comment


              #7
              Great! Thanks!

              Comment

              Working...
              X