dock: Adjust tab panel menu button position to align with content. (#1106)
## Before <img width="1316" height="981" alt="image" src="https://github.com/user-attachments/assets/ad2a96a0-5e82-4caa-85da-76f24d4deef1" /> ## After <img width="1306" height="796" alt="image" src="https://github.com/user-attachments/assets/abc2d5d5-d9de-4cf0-9c39-eb965ffb9c46" />
This commit is contained in:
parent
b2ce262da9
commit
cb6695c774
1 changed files with 2 additions and 1 deletions
|
|
@ -606,7 +606,8 @@ impl TabPanel {
|
|||
.line_height(rems(1.0))
|
||||
.h(px(30.))
|
||||
.py_2()
|
||||
.px_3()
|
||||
.pl_3()
|
||||
.pr_2()
|
||||
.when(left_dock_button.is_some(), |this| this.pl_2())
|
||||
.when(right_dock_button.is_some(), |this| this.pr_2())
|
||||
.when_some(title_style, |this, theme| {
|
||||
|
|
|
|||
Loading…
Reference in a new issue