Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3656

Problem with Control Scaling in WebApp after Programmatic Width Change

$
0
0

Hi everyone,
I’m working on a Xojo WebApp and I’m having trouble with how a control scales when resizing the browser window.

Here’s the situation:
I have a PopupMenu that is locked to the left and right in the Inspector, so it automatically stretches/shrinks with the browser window size — and that works fine initially.

However, for certain reasons in my code, I need to reduce the width of the PopupMenu programmatically. After doing this, the control no longer scales properly with the window size. I also tried setting PopupMenu1.LockLeft = True in code again right after changing the width — but it doesn’t seem to help.

Has anyone encountered this before or know of a workaround?

Thanks in advance!

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 3656

Trending Articles