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
Utilities
Kate
Commits
f9a2e475
Commit
f9a2e475
authored
Oct 26, 2022
by
Eric Armbruster
🍁
Committed by
Christoph Cullmann
Oct 27, 2022
Browse files
Remove heavy frames around tooltips
It looks lighter and does not distract the eye towards the edges.
parent
84d67614
Pipeline
#256605
canceled with stage
in 10 minutes and 42 seconds
Changes
2
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
addons/git-blame/gitblametooltip.cpp
View file @
f9a2e475
...
...
@@ -147,7 +147,7 @@ public:
setWindowFlags
(
Qt
::
FramelessWindowHint
|
Qt
::
BypassGraphicsProxyWidget
|
Qt
::
ToolTip
);
setWordWrapMode
(
QTextOption
::
NoWrap
);
document
()
->
setDocumentMargin
(
10
);
setFrameStyle
(
QFrame
::
Box
|
QFrame
::
Raised
);
setFrameStyle
(
QFrame
::
NoFrame
);
setOpenLinks
(
false
);
connect
(
&
m_hideTimer
,
&
QTimer
::
timeout
,
this
,
&
Private
::
hideTooltip
);
...
...
addons/lspclient/lsptooltip.cpp
View file @
f9a2e475
...
...
@@ -74,7 +74,7 @@ public:
setWindowFlags
(
Qt
::
FramelessWindowHint
|
Qt
::
BypassGraphicsProxyWidget
|
Qt
::
ToolTip
);
setAttribute
(
Qt
::
WA_DeleteOnClose
,
true
);
document
()
->
setDocumentMargin
(
5
);
setFrameStyle
(
QFrame
::
Box
|
QFrame
::
Raised
);
setFrameStyle
(
QFrame
::
NoFrame
);
connect
(
&
m_hideTimer
,
&
QTimer
::
timeout
,
this
,
&
Tooltip
::
hideTooltip
);
setHorizontalScrollBarPolicy
(
Qt
::
ScrollBarAsNeeded
);
...
...
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