Does a subpage container change width? #5235
-
First Check
Example Code## Main
with ui.row().classes('w-full h-full'):
## Content
with ui.column().classes('w-full flex-1 p-4'):
## Subpage Routing
ui.sub_pages({
'/': homePage,
'/NewProject': newProject,
'/LoadProject': loadProject,
})
def loadProject():
with ui.column().classes('w-full'):
projectLabel('Load Project')
ui.separator()
ui.label('Select a Project to Load')
ui.table(columns=openColumns, rows=[]).classes('w-full') DescriptionNo matter what I try, the full width option doesnt seem to change the width of the content, although a specific width like w-96 seems to work. NiceGUI Version3.00 Python Version3.12 BrowserChrome, Firefox Operating SystemWindows Additional ContextNo response |
Beta Was this translation helpful? Give feedback.
Answered by
python-and-novella
Oct 8, 2025
Replies: 1 comment 1 reply
-
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
falkoschindler
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Try this:
Or this: