Project

General

Profile

fonts-changes.diff

Stanislav Lomany, 06/27/2022 06:38 PM

Download (1.12 KB)

View differences:

src/com/goldencode/p2j/ui/client/Frame.java 2022-06-14 14:58:26 +0000
1631 1631
      Frame rootFrame = getRootFrame();
1632 1632
      FrameConfig rfcfg = rootFrame.config();
1633 1633
      ThinClient tc = ThinClient.getInstance();
1634
      
1634
      final boolean initialPlacement = rfcfg.windowID == -1;
1635

  
1635 1636
      if (!tc.isChui() && isRedirected())
1636 1637
      {
1637 1638
         return rfcfg.windowID;
......
1696 1698
                  }
1697 1699

  
1698 1700
                  wnew.addFrame(rootFrame, 0, 0);
1699
                  
1701
                  rootFrame.notifyWindowChanged(initialPlacement);
1700 1702
                  rootFrame.repaint();
1701 1703
               }
1702 1704
            });
......
1705 1707
      
1706 1708
      return rfcfg.windowID;
1707 1709
   }
1710

  
1711
   public void notifyWindowChanged(boolean initialPlacement)
1712
   {
1713
      List<Widget<O>> widgets = getAllTabOrderedWidgets();
1714
      widgets.forEach(widget -> widget.notifyWindowChanged(initialPlacement));
1715
   }
1708 1716
   
1709 1717
   /**
1710 1718
    * Attaches this frame to its parent top-level window.