1. #1
    connysvensson
    Guest

    Default [FNR] Window.setMinimizable() widget not rendering

    [FNR] Window.setMinimizable() widget not rendering


    I had a problem with events not firing on the minimize action for windows in beta 2. Now in beta 3 the minimize widget doesn't even render. I looked at the code for beta 2 and saw the problem why the event wasn't fired, the minimize widget was created twice in the initTools method.
    In beta 3 there seems to have been some cleanup but the important addTool method call is missing, which nevers adds the minimize widget to the window chrome.

    Here is the code snippet in the initTools method in the Window class for dealing with the minimize widget:
    Code:
    if (minimizable) {
          minBtn = new ToolButton("x-tool-minimize");
          minBtn.addSelectionListener(new SelectionListener() {
            public void componentSelected(ComponentEvent ce) {
              minimize();
            }
          });
    }
    Missing the following line in the end:
    Code:
    head.addTool(minBtn);

  2. #2
    Sencha - GXT Dev Team darrellmeyer's Avatar
    Join Date
    May 2007
    Location
    Washington, DC
    Posts
    2,241
    Vote Rating
    2
    darrellmeyer is on a distinguished road

      0  

    Default


    I added the missing line and also put the minimize button before the maximize button. Fix is in SVN.

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar