01-31-2024 08:54 AM - edited 01-31-2024 09:26 AM
Hello,
I have a remote front panel which works perfectly fine, but I don't like how far out the borders go. It looks like the borders are sized as if the front panel was maximized to my screen in the development environment.
I've played with the VI properties and I can't figure out which property to adjust to bring the border in where I want it. I've set panel size to the size I'd like and I've set window position to (0,0), but there's still this dead space.
I can live with it, but it looks unprofessional, and the scrollbars are annoying to me. I'm sure it's an easy fix, but any suggestions would be greatly appreciated.
01-31-2024 10:26 AM - edited 01-31-2024 10:30 AM
That really does not look right. Why do your first pictures appear to show the panel in a browser?
Can you attach your VI (You can clear out the code). What is your LabVIEW version?
01-31-2024 10:29 AM
Thanks for the reply.
Screenshots for Window Size and Window Run-Time Position are shown in the original post (last two images).
01-31-2024 10:32 AM
Also the panel is in a browser because I'm using this technique for a web-published remote front panel:
01-31-2024 10:33 AM
Yes, I saw that later and already edited my post (You can adjust the size of embedded images so it is easier to see without clicking).
It is still not clear why the first images look like they are inside a browser.
01-31-2024 10:35 AM
Ah, OK. Sorry, we seems to have a race condition with posting....
01-31-2024 10:37 AM - edited 01-31-2024 10:39 AM
My guess is that since the browser window is independent of the front panel area it needs to pad with "something". Can you adjust the browser window?
Are there any front panel objects in the far lower right corner that should typically not be seen?
01-31-2024 10:41 AM
Seems we're caught up with each other now 😂. I'd say you are probably right, but I just connected to the front panel via Operate > Connect to Remote Panel, and sure enough there's still this empty space...
Also, no, I made sure all my FP objects would fit in the rectangle I'd like them to.
01-31-2024 10:45 AM
Sorry, I have not used remote panel in decades.
I assume you have played with the highlighted notes.
01-31-2024 11:02 AM
I think those deal with situations where you do not use the Web Publishing Tool to create the HTML file. But your reply gave me an idea. Check this out, when you select the VI to embed to the HTML file in the Web Publishing Tool, the size of the front panel in your development environment affects the size of the front panel in the preview thumbnail. Since I had the FP screen maximized when I embeded the VI to the HTML file, it decided that was the size it should be on the remote FP.
Sure enough, after redoing the Web Publishing Tool to create the HTML file I was able to get the appropriate sized FP. See the last screenshot, no more unsightly gray space around my controls.