mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-12-24 07:21:32 +08:00
Adds notes
This commit is contained in:
parent
21f316577f
commit
9c958d0d22
15
README.md
15
README.md
@ -75,4 +75,17 @@ Items sorted by priority
|
||||
## Notes
|
||||
- *SectionContent* class may safe a "size-type" property, which defines how the size of the widget should be handled.
|
||||
- PerCent: Resize in proportion to other widgets.
|
||||
- Fixed: Width or height are fixed (based on orientation).
|
||||
- Fixed: Width or height are fixed (based on orientation).
|
||||
|
||||
### Handle content drops (Sizing)
|
||||
- Case: Dropping A to the bottom or top of B (vertical split):
|
||||
- A will use the width of B
|
||||
- A will use it's own height, if it is not greater than the half height of B. Otherwise it will use the half height of B.
|
||||
- Case: Dropping A to the left or right of B (horizontal split)
|
||||
- ... Same as before, but swap the words "height" with "width" :-)
|
||||
|
||||
- Case: Dropping A to the outer top or bottom edge (full vertical split):
|
||||
- A will use the full width of the container
|
||||
- A will use it's own height, if it is not greater than the half height of the entire container. Otherwise it will use the half height of the container.
|
||||
- Case: Dropping A to the outer left or right edge (full horizontal split):
|
||||
- ... Same as before, but swap the words "height" with "width" :-)
|
||||
|
Loading…
Reference in New Issue
Block a user