Re: [PATCH] use 800x600 as minimal mainWindow size

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> diff --git a/gui.py b/gui.py
> index 7790aa0..409882b 100755
> --- a/gui.py
> +++ b/gui.py
> @@ -1579,7 +1579,7 @@ class InstallControlWindow:
>                      height = int(fields[pos + 3].replace(',', ''))
>  
>              if width and height:
> -                self.window.set_size_request(width, height)
> +                self.window.set_size_request(min(width, 800), min(height, 600))
>  
>              self.window.maximize()

Looks fine.

- Chris

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux