Commit f26835f
fix(ui): fix place() method call - remove invalid width parameter
Fix the "width and height arguments must be passed to the constructor"
error by using proper place() geometry parameters.
The place() method doesn't accept width/height parameters - these
must be set in the widget constructor only.
Changes:
- Remove invalid width parameter from place() call
- Use relx=1.0 to position at right edge of parent
- Use x=-panel_width to offset left by panel width
- Use anchor="nw" (northwest) for proper positioning
- Widget width is already set in constructor via super().__init__()
The panel now appears correctly at the right edge of the window.
Fixes: place() method error when opening forms
Related: #14
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent eb94764 commit f26835f
1 file changed
Lines changed: 4 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | | - | |
135 | | - | |
136 | 134 | | |
137 | 135 | | |
138 | | - | |
139 | | - | |
| 136 | + | |
140 | 137 | | |
141 | | - | |
| 138 | + | |
| 139 | + | |
142 | 140 | | |
143 | | - | |
144 | 141 | | |
145 | | - | |
| 142 | + | |
146 | 143 | | |
147 | 144 | | |
148 | 145 | | |
| |||
0 commit comments