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

Support fixed interface size #235

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Support fixed interface size #235

wants to merge 1 commit into from

Conversation

nb557
Copy link

@nb557 nb557 commented Jan 2, 2025

Does not change when the window is resized (useful on PC).

@nb557
Copy link
Author

nb557 commented Jan 2, 2025

Может быть полезно на больших мониторах, где при выставлено размере интерфейса "Меньше", умещается только одна строка. Вот пример как это выглядит на мониторе 3440x1440:
small
small_menu
fixed16
fixed10
fixed10_loaded

Единственная проблема что изначально подгружаются только 7 карточек в строке, но при прокрутке подгружаются и другие.

@yumata
Copy link
Owner

yumata commented Jan 2, 2025

И оно мне надо?)) Чтоб потом это все адаптировать под эти размеры, отвечу кратко. На... надо :D

@nb557
Copy link
Author

nb557 commented Jan 2, 2025

Ну нет так, нет. Может тогда сделать так, чтобы подобное можно было сотворить хотя бы плагином, так как изначально я пытался перекрыть Lampa.Layer.update (так как функция size() из Layer вообще приватная), но это не работало, так как там явно вызывается update() в разных таймерах и событиях не через Lampa.Layer.update, а напрямую.

Does not change when the window is resized (useful on PC).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants