FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
Dear Community User! We have started the migration process.
This community is now in READ ONLY mode.
Read more: Important
information on the platform change.
04-30-2024 10:02 AM
Hello,
I have the problem, that the select box is cut off by the screen edge when it is expanded. Therefore I wanted to ask, if there is a way to limit the size of the expansion so that it does not keep getting cut off by the edge of the Screen. I attached a screenshot of the select box. The project is created using pixels for positioning. The white background is sized to show the actual screen area and the grey background shows the area that is out of screen on the target device. I have tried to run the project on the target device with the screen size of 1366x768px but the select box is still cut off and the last items are not reachable on the target device.
Solved! Go to Solution.
04-30-2024 10:23 AM
Hello, as it's a web HMI you can solve these issues with CSS - this is the correct selector:
.iq-select-box .iq-anchor {
max-height: 296px;
}
Please note that this will change the height of all select box option dropdowns so you might want to customize that by using a custom class.
04-30-2024 10:33 AM
It worked thank you very much for the quick support!
05-02-2024 08:35 AM - edited 05-02-2024 08:36 AM
You can also open the list upwards. Unfortunately, this does not currently work automatically depending on the position, but can be set manually using the CSS modifier "list-on-top". Maybe this is helpful, too.