-
-
Notifications
You must be signed in to change notification settings - Fork 301
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wxGUI Add web service layer: Fix dialog layout #627
wxGUI Add web service layer: Fix dialog layout #627
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't actually reproduce your behavior, it looks good on my Ubuntu 18.04 (wxPython 4.0.7). I would request the change in the size computation, now it gives me fairly small window and as I suggest a fixed min size might be more straightforward.
gui/wxpython/web_services/widgets.py
Outdated
@@ -230,6 +230,12 @@ def _requestPage(self): | |||
|
|||
self.req_page_panel.SetSizer(self.req_page_sizer) | |||
|
|||
size = list(self.req_page_sizer.GetMinSize()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems little weird, I would rather set the minimum height as fixed e.g.:
self.SetMinSize((-1, 300))
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm using Gentoo distro (4.0.7.post2 gtk3 (phoenix) wxWidgets 3.0.4
) with dynamic window manager (main difference against Ubuntu distro) for X. It's work properly on Ubuntu 18.04 distro (dialog height expand to max desktop visible height). Alright, I updated it.
d0b35c7
to
ec205e1
Compare
I have the same problem in fedora 31 (I get exactly the same that you show in the first screenshot) which makes it unusable because it is impossible to resize. |
Thanks! |
Yes! It works nicely now. Thanks for the fix :) |
* wxGUI AddWSDialog: set Advanced request settings page ScrolledPanel widget * wxGUI AddWSDialog: set WSPanel widget min size
1. Set Request page BoxSizer widget min size
To reproduce:
Default dialog (Request page) layout:
Expected dialog (Request page) layout:
2. Set Advanced request settings page ScrolledPanel widget
To reproduce:
http://gis.nature.cz/arcgis/services/Aplikace/Opendata/MapServer/WmsServer
in the Server TextCtrl widgetDefault dialog (Advanced request settings page) layout:
Expected dialog (Advanced request settings page) layout: