From 32dd54303a1ff9c2781b9356dbfd7c1c0d616f91 Mon Sep 17 00:00:00 2001 From: Vishal Date: Sun, 15 Oct 2023 13:11:39 +0530 Subject: [PATCH] Update publictab.py --- .../ba_data/python/bauiv1lib/gather/publictab.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/assets/ba_data/python/bauiv1lib/gather/publictab.py b/src/assets/ba_data/python/bauiv1lib/gather/publictab.py index 0a9ef110..3eb8239e 100644 --- a/src/assets/ba_data/python/bauiv1lib/gather/publictab.py +++ b/src/assets/ba_data/python/bauiv1lib/gather/publictab.py @@ -361,6 +361,7 @@ class PublicGatherTab(GatherTab): self._last_server_list_query_time: float | None = None self._join_list_column: 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_minus_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), 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( self, region_width: float, region_height: float