Skip to content

Commit 63a9405

Browse files
Update wnd_controls_combobox.md with Z-order details
Added note about dropdown menu Z-order and overlap issues.
1 parent ecccb6a commit 63a9405

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Asset/GUI/WND_Controls/wnd_controls_combobox.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,10 @@ The following section list the default values and available textures for each ta
105105
If the ComboBox is inside a window container and the list extends beyond the window's boundaries,
106106
it is not possible to click on items that are outside of the visible area of the container.
107107
This may cause issues when interacting with the ComboBox.
108+
3. **Dropdown Menu Z-Order (Overlap issues):**
109+
The SAGE engine renders UI elements based on their order in the `.wnd` file hierarchy. Elements defined lower down in the file are drawn on top of elements defined earlier.
110+
Because the ComboBox features a dropdown list that extends downwards, it must be rendered *over* any other UI elements that are physically located below it on the screen.
111+
To ensure the dropdown menu is not hidden behind other elements, the `COMBOBOX` must be placed **below** those underlying elements in the `.wnd` file's code hierarchy.
108112

109113
## Example
110114

0 commit comments

Comments
 (0)