layout of views

Issue #123 resolved
Reimar Bauer created an issue

we should check if all views on all platforms have the same size on starting mss and add a button to return to this size, or also some selection for differnt once. e.g.

[640,480] [...] [1920,1080] [free]

This enables the option to get a already processed cache file loaded for a given size and also to use cache files by someone else created.

Comments (5)

  1. Reimar Bauer reporter

    While layout sizes easily can be adjusted the size of the image requested on the server is based on some calculations. The values become retrieved from

    in mpl_qtwidget

    def getPlotSizePx(self):
            """Determines the size of the current figure in pixels.
    
            Returns the tuple width, height.
            """
            # (bounds = left, bottom, width, height)
            ax_bounds = self.ax.bbox.bounds
            width = int(round(ax_bounds[2]))
            height = int(round(ax_bounds[3]))
            return width, height
    
  2. Log in to comment