I'm developing some things in Otclient (specifically in otclient redemption: GitHub - mehah/otclient: An alternative tibia client for otserv written in C++20 and Lua, made with a modular system that uses lua scripts for ingame interface and functionality, making otclient flexible and easy to customize (https://github.com/mehah/otclient)).
I would like to know how the logic works to determine which widgets stay on top of each other or below each other because I'm creating a panel that occupies the entire screen when opened.
The problem is that when I open the backpack, it stays below this panel I created.
However, I noticed some peculiarities in Tibia itself.
For example:
1 - When I open the backpack, I can move it above the chat so that it's not hidden.
2 - The backpack is on the same level as the minimap.
3 - The top menu items are above this panel I created.
How can I make the backpack open on top of this panel I'm creating?
I'm modifying the game_inventory*
I would like to know how the logic works to determine which widgets stay on top of each other or below each other because I'm creating a panel that occupies the entire screen when opened.
The problem is that when I open the backpack, it stays below this panel I created.
However, I noticed some peculiarities in Tibia itself.
For example:
1 - When I open the backpack, I can move it above the chat so that it's not hidden.
2 - The backpack is on the same level as the minimap.
3 - The top menu items are above this panel I created.
How can I make the backpack open on top of this panel I'm creating?
I'm modifying the game_inventory*
Last edited: