CommonClient: Some GUI polish (#1139)

* CommonClient: Focus text field when requesting input.

* CommonClient: Store and prefill last server address.

* CommonClient: Focus and select portion of server address upon start.

* CommonClient: Don't allow editing of address while connected.

* CommonClient: Don't make pressing Enter in the address bar disconnect you.

* CommonClient: Use TextInput.text_validate_unfocus over jank workaround.

* CommonClient: Fixed hang when closing after failed handshake.

* CommonClient: Made scrollbar wider and interactable.
This commit is contained in:
recklesscoder
2022-11-01 06:54:40 +01:00
committed by GitHub
parent 655f287d42
commit c1d7abd06e
3 changed files with 33 additions and 12 deletions

View File

@@ -15,6 +15,8 @@
<UILog>:
viewclass: 'SelectableLabel'
scroll_y: 0
scroll_type: ["content", "bars"]
bar_width: dp(12)
effect_cls: "ScrollEffect"
SelectableRecycleBoxLayout:
default_size: None, dp(20)