Clear button and busy indicator for search field

Review Request #124605 - Created Aug. 3, 2015 and submitted

Information
Dennis Nienhüser
marble
master
Reviewers
marble

Some minor improvements for the search field:
- add a clear button
- add a busy indicator
- restrict width to a maximum width to avoid that it spans the full screen in landscape mode or on large screens (e.g. tablets)

The buttons (including the existing search button) are rendered inside the search input field for a nicer look. The busy indicator uses a custom style because the default Qt implementation fails to adjust its size on Android.

See http://nienhueser.de/marble/marble-android-search-ui.mp4 for a screencast. The video stutters a bit, my device is too slow to record a screencast in realtime. A screenshot is attached.

Tested on a Nexus 4.

Files


Dennis Nienhüser
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit 4d58ee7b64254146d282b34aa5f5e61898703455 by Dennis Nienhüser to branch master.
Loading...