Is there a way to easily resize a non-modal app panel?

Started by Jingo, October 06, 2017, 05:44:58 PM

Previous topic - Next topic

Jingo

Playing around with a few things in the AppManager app.... have my modifications working except for the ability to temporarily resize the panel to allow some items to display.  My goal would be to resize the width of the panel temporarily when an icon is rolled over.    Or... have the drop down info show OUTSIDE the panel....

I noticed this doesn't work for the MAP panel as well... if you have one of the drop-downs enabled and then resize the window... eventually, the drop down info is not visible because the window is too small.  Clicking the buttons after this shows the drop down - but the info is hidden within the panel.

I couldn't figure out a way to resize the window via script... am I out of luck?  Thx!

Mario

Impossible. The width of the panel is controlled by the panel manager in IMatch. Apps don't have access to that.
We discussed this some time a go. Your App Panel may be docked in a group with 5 other panels!

Design your app to be responsive (work with all panel sizes) or maybe use a modal window if you are depending on a specific panel size.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

Jingo

Quote from: Mario on October 06, 2017, 06:24:50 PM
Impossible. The width of the panel is controlled by the panel manager in IMatch. Apps don't have access to that.
We discussed this some time a go. Your App Panel may be docked in a group with 5 other panels!

Design your app to be responsive (work with all panel sizes) or maybe use a modal window if you are depending on a specific panel size.

Kinda figured that was the case... guess users wouldn't make the map panel so small that the dropdown boxes are impossible to read... and not much that can be done about that.  Oh well... off to figure out a different solution   ::)

Mario

Quoteguess users wouldn't make the map panel so small that the dropdown boxes are impossible to read

Yes. There is a limit of even a responsive design. If a user has a very small monitor, uses a very narrow width for the Map Panel and also does not use the scaling feature available for all app panels, he will end up with a only partially usable map panel.

Since there are multiple ways to solve that, from making the panel wider, floating it into a separate window, making it wider and auto-hide, moving it to a secondary monitor, using the scaling feature to reduce the overall size of all rendered content, ... I can live with that.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook