Fixed combobox popups not reaching the top of the screen

This commit is contained in:
pelya
2017-03-31 22:30:07 +03:00
parent 0a7a095b92
commit 205ef47f73
2 changed files with 1 additions and 3 deletions

View File

@@ -375,7 +375,7 @@ void ShowDropDownListAt(Window *w, const DropDownList *list, int selected, int b
int screen_bottom = GetMainViewBottom();
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 */
if (top + height + DISPLAY_BORDER >= screen_bottom) {

View File

@@ -9,8 +9,6 @@
- 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.
- 'New game' dialog is broken again.