mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-07 22:52:06 +08:00
BigUI WIP: fix breadcrumb
This commit is contained in:
@@ -3168,14 +3168,10 @@ class AetherSettingsView(PanelManagerView):
|
||||
|
||||
for j, row in enumerate(visible_rows):
|
||||
row_rect = rl.Rectangle(rect.x, y + j * section.row_height, col_w, section.row_height)
|
||||
row.set_is_last(j == len(visible_rows) - 1)
|
||||
row.set_parent_rect(self._scroll_rect)
|
||||
row.render(row_rect)
|
||||
self._draw_row(row_rect, row, is_last=(j == len(visible_rows) - 1))
|
||||
for j, row in enumerate(right_rows):
|
||||
row_rect = rl.Rectangle(rect.x + col_w + self.COLUMN_GAP, y + j * right_section.row_height, col_w, right_section.row_height)
|
||||
row.set_is_last(j == len(right_rows) - 1)
|
||||
row.set_parent_rect(self._scroll_rect)
|
||||
row.render(row_rect)
|
||||
self._draw_row(row_rect, row, is_last=(j == len(right_rows) - 1))
|
||||
y += max(section_h, right_h) + SECTION_GAP
|
||||
i += 1
|
||||
else:
|
||||
|
||||
@@ -59,6 +59,7 @@ DECELERATION_PROFILE_OPTIONS = [
|
||||
class AdaptiveSpeedView(Widget):
|
||||
def __init__(self, controller):
|
||||
super().__init__()
|
||||
self._header_title = tr_noop("Adaptive Speed Controls")
|
||||
self._controller = controller
|
||||
self._grid = TileGrid(columns=2, padding=12)
|
||||
self._child(self._grid)
|
||||
|
||||
Reference in New Issue
Block a user