Mercurial > octave
changeset 24696:344832a898ad
Use proper stylesheet syntax to avoid tooltip black background (bug #44554).
* octave-dock-widget.cc (octave_dock_widget::set_style): Place "QToolButton{}"
around the css_button style description so that the style only affects
QToolButton objects and not QToolTip objects.
author | Daniel J Sebald <daniel.sebald@ieee.org> |
---|---|
date | Mon, 05 Feb 2018 14:44:39 -0600 |
parents | 3048291bbed6 |
children | 21d6d80ed427 |
files | libgui/src/octave-dock-widget.cc |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libgui/src/octave-dock-widget.cc Tue Feb 06 22:09:22 2018 +0100 +++ b/libgui/src/octave-dock-widget.cc Mon Feb 05 14:44:39 2018 -0600 @@ -408,7 +408,7 @@ } m_title_widget->setStyleSheet (css); - css_button = QString ("background: transparent; border: 0px;"); + css_button = QString ("QToolButton {background: transparent; border: 0px;}"); m_dock_button->setStyleSheet (css_button); m_close_button->setStyleSheet (css_button); m_dock_action->setIcon (QIcon (":/actions/icons/" + dock_icon + icon_col +