formatting changes

This commit is contained in:
2025-11-25 23:20:57 -05:00
parent ff32de4ac0
commit 8e9d57c5cb

View File

@@ -2,15 +2,17 @@ import flet as ft
def create_menubar(page: ft.Page, selector, builder): def create_menubar(page: ft.Page, selector, builder):
menu = ft.AppBar( menu = ft.AppBar(
title=ft.Text("Meal Picker"), title=ft.Text("NoteNook"),
bgcolor=ft.Colors.GREEN_700, bgcolor='#CC8B65',
center_title=False, center_title=False,
actions=[ actions=[
ft.PopupMenuButton( ft.PopupMenuButton(
items=[ items=[
ft.PopupMenuItem(text="Meal Selector", on_click=lambda e: selector(page)), ft.PopupMenuItem(text="Meal Selector", on_click=lambda e: selector(page)),
ft.PopupMenuItem(text="Meal Builder", on_click=lambda e: builder(page)), ft.PopupMenuItem(text="Meal Builder", on_click=lambda e: builder(page)),
] ],
icon = ft.Icons.FASTFOOD_OUTLINED,
icon_color = '#E3DCD2'
) )
] ]
) )