Jump to content


Taapat

Member Since 7 Jul 2010
Offline Last Active 19 Nov 2024 15:32
-----

Posts I've Made

In Topic: Problems with Youtube plugin with develop image - py3

8 May 2024 - 14:41

If you want a quick response, please open an issue on plugin github.
I don't read all topics regularly.
For example, I read this just today.

In Topic: Youtube in OpenPli 9.0

29 April 2024 - 14:40

Should be fixed in the last version: https://github.com/O...fd44268365b4f63


In Topic: [WIP] PLi-DarkOS Skin

9 April 2024 - 14:48

The length depends on the translation.
When I experimented with my solution, I found some menu entries that spread the menu so wide that I didn't like it.
And there were also menus that seemed too narrow.
Therefore, I think that min and max limits are necessary.

In Topic: [WIP] PLi-DarkOS Skin

9 April 2024 - 14:14

But don't forget to set some size limits.
I think it's better to split one long text instead of showing the menu over all screen.

In Topic: [WIP] PLi-DarkOS Skin

9 April 2024 - 12:44

Maybe I don't understand something because I haven't followed all the latest changes.
 
As I understand, the only thing that can change the size is the text in the title and the texts in the displayed menu lines.
You need to loop through them with checking their width and find out the widest.
After that, you can calculate the required window size.
 
If you choose one of the menus, a new window opens, which size you can adjust again with onLayoutFinish.
 
Here is a very simplified example of how I do it in my skin: https://github.com/T...s.xml#L222-L237
I know that the real size should be checked, not just the longest text, but it is designed to work faster.