sciencefair-land / sciencefair

The futuristic, fabulous and free desktop app for working with scientific literature :microscope: :book:
https://sciencefair-app.com
MIT License
603 stars 52 forks source link

window size should not be higher than screen size #155

Closed step21 closed 6 years ago

step21 commented 6 years ago

My laptop has a 1366x768 screen resolution. I am not sure atm how sciencefair sets the window size, but at least on Ubuntu 16.04 when running Unity as Desktop environment the window is drawn with such a height that the lower part is cut off. It is probably just a few pixels that are cut off, nothing important, but it is hard to actually know that for sure/find out.

blahah commented 6 years ago

@step21 good point! Currently the app window is created with the following settings:

      height: 750,
      width: 1080,
      minHeight: 750,
      minWidth: 1080,

The reason for having a restriction in the first place is that the interface doesn't work with a screen much small than this, but given 768 is probably quite a common screen resolution height we should lower the height default and minimum.