fixed fit-content layout issue and inner child swap issue

This commit is contained in:
paul
2024-09-29 17:51:42 +05:30
parent dc0c6ef12c
commit a9a996e108
9 changed files with 194 additions and 50 deletions

22
docs/intro.md Normal file
View File

@@ -0,0 +1,22 @@
# PyUIBuilder Documentation
>[!NOTE]
This is a temporary documentation, the page will be updated as more features are added.
## Basics Widgets understanding
Every widget has its own attributes, some of the attributes may be common.
1. **MainWindow:** Every UI needs to have one main window. If you don't have any main window, the output will not be generated.
If you have multiple Main Window you'll be asked to delete one window at the time of code generation.
2. **Layouts:** Every widget that can hold a child widget has three different layouts.
1. Flex(also known as pack)
2. Grid
3. Absolute/Place
The parents of the child widgets controls the layout. The layout properties such as grid position will be available to the child under the grid-manager/flex-manager section.