diff --git a/bin/app/data/gui/history_list/history_list.css b/bin/app/data/gui/history_list/history_list.css index d4429ae7..3ca2e8df 100644 --- a/bin/app/data/gui/history_list/history_list.css +++ b/bin/app/data/gui/history_list/history_list.css @@ -1,16 +1,19 @@ +#history_list { + background: ; + border: none; +} + QListWidget::item { + border: none; border-bottom: 1px solid ; } -#history_list { - background: ; -} - #history_item, #history_item_current { + border: none; color: ; font-family: ""; font-size: px; - padding-left: 20px; + padding-left: 22px; padding-top: 1px; } diff --git a/bin/app/data/gui/undoredo_view/images/history.png b/bin/app/data/gui/undoredo_view/images/history.png index 3d4c42b4..9950359a 100644 Binary files a/bin/app/data/gui/undoredo_view/images/history.png and b/bin/app/data/gui/undoredo_view/images/history.png differ diff --git a/src/lib_gui/qt/element/QtHistoryList.cpp b/src/lib_gui/qt/element/QtHistoryList.cpp index 1a2aaae3..c4fe0112 100644 --- a/src/lib_gui/qt/element/QtHistoryList.cpp +++ b/src/lib_gui/qt/element/QtHistoryList.cpp @@ -37,7 +37,7 @@ QtHistoryItem::QtHistoryItem(const SearchMatch& match, size_t index, bool isCurr QSize size = getSizeHint(); m_indicator = new QWidget(m_name); - m_indicator->setGeometry(5, 2, 12, size.height() - 4); + m_indicator->setGeometry(0, 1, 12, size.height()); m_indicator->show(); ColorScheme* scheme = ColorScheme::getInstance().get(); @@ -63,7 +63,7 @@ QtHistoryItem::QtHistoryItem(const SearchMatch& match, size_t index, bool isCurr QLabel* arrow = new QLabel(this); arrow->setPixmap(utility::colorizePixmap(pixmap.pixmap(), QColor(scheme->getColor("search/popup/text").c_str()))); - arrow->setGeometry(size.height() / 3, size.height() / 3, size.height() / 3, size.height() / 3); + arrow->setGeometry(15, size.height() / 3, size.height() / 3, size.height() / 3); arrow->show(); } } @@ -131,7 +131,7 @@ QtHistoryList::QtHistoryList(const std::vector& history, size_t cur void QtHistoryList::showPopup(QPoint pos) { - QSize size(50, 1); + QSize size(50, 0); for (int i = 0; i < count(); i++) { QtHistoryItem* it = dynamic_cast(itemWidget(item(i)));