code: def update_floating_panels(self):
          
          crect = self.editor.contentsRect()
          panels = self.panels_for_zone(Panel.Position.FLOATING)
          for panel in panels:
              if not panel.isVisible():
                  continue
              panel.set_geometry(crect)
docs: Update foating panels.