mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-02-07 16:13:23 +08:00
Update publictab.py
This commit is contained in:
parent
847b2c8e05
commit
32dd54303a
@ -361,6 +361,7 @@ class PublicGatherTab(GatherTab):
|
|||||||
self._last_server_list_query_time: float | None = None
|
self._last_server_list_query_time: float | None = None
|
||||||
self._join_list_column: bui.Widget | None = None
|
self._join_list_column: bui.Widget | None = None
|
||||||
self._join_status_text: bui.Widget | None = None
|
self._join_status_text: bui.Widget | None = None
|
||||||
|
self._no_servers_text: bui.Widget | None = None
|
||||||
self._host_max_party_size_value: bui.Widget | None = None
|
self._host_max_party_size_value: bui.Widget | None = None
|
||||||
self._host_max_party_size_minus_button: (bui.Widget | None) = None
|
self._host_max_party_size_minus_button: (bui.Widget | None) = None
|
||||||
self._host_max_party_size_plus_button: (bui.Widget | None) = None
|
self._host_max_party_size_plus_button: (bui.Widget | None) = None
|
||||||
@ -658,6 +659,18 @@ class PublicGatherTab(GatherTab):
|
|||||||
color=(0.6, 0.6, 0.6),
|
color=(0.6, 0.6, 0.6),
|
||||||
position=(c_width * 0.5, c_height * 0.5),
|
position=(c_width * 0.5, c_height * 0.5),
|
||||||
)
|
)
|
||||||
|
self._no_servers_text = bui.textwidget(
|
||||||
|
parent=self._container,
|
||||||
|
text='',
|
||||||
|
size=(0, 0),
|
||||||
|
scale=0.9,
|
||||||
|
flatness=1.0,
|
||||||
|
shadow=0.0,
|
||||||
|
h_align='center',
|
||||||
|
v_align='top',
|
||||||
|
color=(0.6, 0.6, 0.6),
|
||||||
|
position=(c_width * 0.5, c_height * 0.5),
|
||||||
|
)
|
||||||
|
|
||||||
def _build_host_tab(
|
def _build_host_tab(
|
||||||
self, region_width: float, region_height: float
|
self, region_width: float, region_height: float
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user