diff --git a/bin/app/data/gui/setting_window/listbox.css b/bin/app/data/gui/setting_window/listbox.css index 8b452bbf..33118a92 100644 --- a/bin/app/data/gui/setting_window/listbox.css +++ b/bin/app/data/gui/setting_window/listbox.css @@ -46,17 +46,11 @@ QtListItemWidget #button:hover { } #roundedButton { - background: dimgray; - border-radius: 8px; color: white; - font-size: 15px; height: 16px; margin-right: 3px; width: 16px; -} - -#roundedButton:hover { - background: gray; + border: none; } #dropInfo { diff --git a/bin/app/data/gui/setting_window/minus.png b/bin/app/data/gui/setting_window/minus.png new file mode 100644 index 00000000..290b0a33 Binary files /dev/null and b/bin/app/data/gui/setting_window/minus.png differ diff --git a/bin/app/data/gui/setting_window/plus.png b/bin/app/data/gui/setting_window/plus.png new file mode 100644 index 00000000..366e1044 Binary files /dev/null and b/bin/app/data/gui/setting_window/plus.png differ diff --git a/bin/app/data/projects/tutorial/src/code_tutorial_2.h b/bin/app/data/projects/tutorial/src/code_tutorial_2.h index 9c033133..9496f932 100644 --- a/bin/app/data/projects/tutorial/src/code_tutorial_2.h +++ b/bin/app/data/projects/tutorial/src/code_tutorial_2.h @@ -47,10 +47,10 @@ void deep_thought() // where does it come from? // // 3 - EXPANDING TO SCOPES -// Do you see first line of this snippet? I mean the one that has just two dots -// as line number and reads "deep_thought". Actually that's the name of the -// function's scope that encapsulates the snippet. By clicking that line you -// can tell Coati to expand the view to show the entire scope. +// Do you see the first line of this snippet? I mean the one that has just two +// dots as line number and reads "deep_thought". Actually that's the name of +// the function's scope that encapsulates the snippet. By clicking that line +// you can tell Coati to expand the view to show the entire scope. // Give it a try! // //------------------------------------------------------------------------------ diff --git a/src/app/qt/element/QtDirectoryListBox.cpp b/src/app/qt/element/QtDirectoryListBox.cpp index 19be3a21..70369300 100644 --- a/src/app/qt/element/QtDirectoryListBox.cpp +++ b/src/app/qt/element/QtDirectoryListBox.cpp @@ -104,13 +104,13 @@ QtDirectoryListBox::QtDirectoryListBox(QWidget *parent) innerLayout->setContentsMargins(8, 4, 8, 3); innerLayout->setSpacing(0); - m_addButton = new QPushButton("+", this); + m_addButton = new QPushButton(QIcon("data/gui/setting_window/plus.png"), "", this); m_addButton->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed); m_addButton->setAttribute(Qt::WA_LayoutUsesWidgetRect); // fixes layouting on Mac m_addButton->setObjectName("roundedButton"); innerLayout->addWidget(m_addButton); - m_removeButton = new QPushButton("-", this); + m_removeButton = new QPushButton(QIcon("data/gui/setting_window/minus.png"), "", this); m_removeButton->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed); m_removeButton->setAttribute(Qt::WA_LayoutUsesWidgetRect); // fixes layouting on Mac m_removeButton->setObjectName("roundedButton");