Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Plasma Breeze visual style
Commits
0576ca06
Commit
0576ca06
authored
Feb 28, 2022
by
Jan Blackquill
🌈
Committed by
Nate Graham
Feb 28, 2022
Browse files
KStyle: center QTabBar custom tab buttons vertically in vertical tabs
BUG: 447315
FIXED-IN: 5.24.3
parent
9d361c9e
Pipeline
#143477
passed with stage
in 3 minutes and 41 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
kstyle/breezestyle.cpp
View file @
0576ca06
...
...
@@ -1923,13 +1923,13 @@ namespace Breeze
case
QTabBar
::
RoundedWest
:
case
QTabBar
::
TriangularWest
:
buttonRect
.
move
Bottom
(
rect
.
bottom
()
-
Metrics
::
TabBar_TabMarginWidth
);
buttonRect
.
move
Top
(
rect
.
top
()
+
((
rect
.
height
()
-
buttonRect
.
height
())
/
2
)
);
buttonRect
.
moveLeft
(
(
rect
.
width
()
-
buttonRect
.
width
()
)
/
2
);
break
;
case
QTabBar
::
RoundedEast
:
case
QTabBar
::
TriangularEast
:
buttonRect
.
moveTop
(
rect
.
top
()
+
Metrics
::
TabBar_TabMarginWidth
);
buttonRect
.
moveTop
(
rect
.
top
()
+
((
rect
.
height
()
-
buttonRect
.
height
())
/
2
)
);
buttonRect
.
moveLeft
(
(
rect
.
width
()
-
buttonRect
.
width
()
)
/
2
);
break
;
...
...
Jan Blackquill
🌈
@cblack
mentioned in commit
8a6426df
·
Feb 28, 2022
mentioned in commit
8a6426df
mentioned in commit 8a6426dfc9640367dc25454b8f26edd3bdac67c5
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment