Skip to content

Commit

Permalink
SC2: Made grid layout spacing consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
EnvyDragon committed Jan 21, 2024
1 parent 4b9e483 commit dcd356d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions worlds/sc2/ClientGui.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,14 +152,14 @@ def build_mission_table(self, dt) -> None:

for category in categories:
category_name_height = 0
category_spacing = 5
category_spacing = 3
if category.startswith('_'):
category_display_name = ''
else:
category_display_name = category
category_name_height += 25
category_spacing += 5
category_panel = MissionCategory(padding=[category_spacing,5,category_spacing,5])
category_spacing = 10
category_panel = MissionCategory(padding=[category_spacing,6,category_spacing,6])
category_panel.add_widget(
Label(text=category_display_name, size_hint_y=None, height=category_name_height, outline_width=1))

Expand Down

0 comments on commit dcd356d

Please sign in to comment.