Fixed combobox popups not reaching the top of the screen
This commit is contained in:
@@ -375,7 +375,7 @@ void ShowDropDownListAt(Window *w, const DropDownList *list, int selected, int b
|
|||||||
int screen_bottom = GetMainViewBottom();
|
int screen_bottom = GetMainViewBottom();
|
||||||
bool scroll = false;
|
bool scroll = false;
|
||||||
|
|
||||||
enum { DISPLAY_BORDER = 20, TOP_BORDER = 4 };
|
enum { DISPLAY_BORDER = 0, TOP_BORDER = 0 };
|
||||||
|
|
||||||
/* Check if the dropdown will fully fit below the widget */
|
/* Check if the dropdown will fully fit below the widget */
|
||||||
if (top + height + DISPLAY_BORDER >= screen_bottom) {
|
if (top + height + DISPLAY_BORDER >= screen_bottom) {
|
||||||
|
|||||||
2
todo.txt
2
todo.txt
@@ -9,8 +9,6 @@
|
|||||||
|
|
||||||
- Fix text input - it should use SDL_ANDROID_GetScreenKeyboardTextInputAsync(), and fix double-backspace bug in SDL.
|
- Fix text input - it should use SDL_ANDROID_GetScreenKeyboardTextInputAsync(), and fix double-backspace bug in SDL.
|
||||||
|
|
||||||
- Combo box popup menu cannot reach top of the screen.
|
|
||||||
|
|
||||||
- Draggable combo boxes.
|
- Draggable combo boxes.
|
||||||
|
|
||||||
- 'New game' dialog is broken again.
|
- 'New game' dialog is broken again.
|
||||||
|
|||||||
Reference in New Issue
Block a user