-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add searchbar to mission browser #974
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks good. Tested in-game, works well 👍
Comments I left are just to have slightly better alignment of search box since, edit controls protrude a little bit due to the outline
|
||
private _ctrlSearch = _display ctrlCreate ["RscEdit", IDC_SEARCH]; | ||
_ctrlSearch ctrlSetPosition [ | ||
_left, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
_left + 0.1 * GUI_GRID_W
_ctrlSearch ctrlSetPosition [ | ||
_left, | ||
_top, | ||
_width - GUI_GRID_W, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
_width - 1.2 * GUI_GRID_W
_left, | ||
_top, | ||
_width - GUI_GRID_W, | ||
GUI_GRID_H |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
0.9 * GUI_GRID_H
Kept the size of the edit box, because it looked a bit squashed, and moved the listbox below down a bit instead. |
When merged this pull request will: