Skip to content
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

Dropdown doesn't fit on screen #249

Closed
IS4C4SI opened this issue Jul 4, 2024 · 6 comments
Closed

Dropdown doesn't fit on screen #249

IS4C4SI opened this issue Jul 4, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@IS4C4SI
Copy link

IS4C4SI commented Jul 4, 2024

Problem
There are a lot of images in my activity and when I open the dropdown list, 1/3 of them are hidden behind the screen space

Decision
Define the maximum length of the dropdown list like this:

  1. Adaptive: Maximum vertical value, for example: 1080px / 2 = 540px
  2. Simple: Set a constant length for a dropdown list = 275px - this is half the program window on a screen with a resolution of 1920x1080
@IS4C4SI IS4C4SI added the bug Something isn't working label Jul 4, 2024
@maximmax42
Copy link
Owner

Huh. I thought WinForms accounts for that automatically. Was there no arrow on the bottom of the list?

@IS4C4SI
Copy link
Author

IS4C4SI commented Jul 4, 2024

Yes but no, in the window element itself yes,

Detailsimage.png
but in the interface element no.
Detailsvideo.gif

@maximmax42
Copy link
Owner

maximmax42 commented Jul 4, 2024

Okay, so. How many images do you have uploaded? Because apparently the combobox only allows for 100 entries max, limited by WinForms.
(Оффтоп, но нафига загружать так много изображений?????)

@maximmax42
Copy link
Owner

Though it looks like it still goes offscreen even if there's 100 elements.

@maximmax42
Copy link
Owner

maximmax42 commented Jul 4, 2024

Oh. I'm dumb. 100 is the number of elements shown at once. I'll set it to 30, should fit on any screen.

@IS4C4SI
Copy link
Author

IS4C4SI commented Jul 4, 2024

Спасибо за внимание, в моей активности больше 150 изображений, я рад что вы исправили проблему и с нетерпением буду ждать новой версии.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants