Relative Content

Tag Archive for pythonnicegui

How to stop NiceGUI components from being coverd by header and footer?

I’m new to NiceGUI, and I’m tying to build on the modular example. I have moved the theme.py file up a directory because I plan on reusing it with multiple applications. The problem that I’m having is that when I add multiple components to a page (I’m testing with the class_example.py file) the first and last components are partially hidden by the header and footer. For my testing, I’ve added multiple components to the class_example.py file that I plan on using in an app. I’ve included my theme.py file contents below.

How to stop NiceGUI components from being coverd by header and footer?

I’m new to NiceGUI, and I’m tying to build on the modular example. I have moved the theme.py file up a directory because I plan on reusing it with multiple applications. The problem that I’m having is that when I add multiple components to a page (I’m testing with the class_example.py file) the first and last components are partially hidden by the header and footer. For my testing, I’ve added multiple components to the class_example.py file that I plan on using in an app. I’ve included my theme.py file contents below.