diff --git a/src/tribler-gui/tribler_gui/qt_resources/mainwindow.ui b/src/tribler-gui/tribler_gui/qt_resources/mainwindow.ui index f21f4155891..90d0bcf321e 100644 --- a/src/tribler-gui/tribler_gui/qt_resources/mainwindow.ui +++ b/src/tribler-gui/tribler_gui/qt_resources/mainwindow.ui @@ -3503,8 +3503,8 @@ QTabBar::tab:selected { 0 0 - 321 - 259 + 308 + 276 @@ -5420,6 +5420,10 @@ border: none; padding-left: 5px; border-radius: 14px; color: black; +} + +QLineEdit:focus { +border: 1px solid #FF924F; } diff --git a/src/tribler-gui/tribler_gui/widgets/tablecontentmodel.py b/src/tribler-gui/tribler_gui/widgets/tablecontentmodel.py index d59b39737c3..81812878428 100644 --- a/src/tribler-gui/tribler_gui/widgets/tablecontentmodel.py +++ b/src/tribler-gui/tribler_gui/widgets/tablecontentmodel.py @@ -60,7 +60,7 @@ def define_columns(): Column.CATEGORY: d('category', "", width=30, tooltip_filter=lambda data: data), Column.NAME: d('name', tr("Name"), width=EXPANDING), Column.SIZE: d('size', tr("Size"), width=90, display_filter=lambda data: (format_size(float(data)) if data != "" else "")), - Column.HEALTH: d('health', tr("Health"), width=100, tooltip_filter=lambda data: f"{data}" + ('' if data == HEALTH_CHECKING else '\n(Click to recheck)'),), + Column.HEALTH: d('health', tr("Health"), width=120, tooltip_filter=lambda data: f"{data}" + ('' if data == HEALTH_CHECKING else '\n(Click to recheck)'),), Column.UPDATED: d('updated', tr("Updated"), width=120, display_filter=lambda timestamp: pretty_date(timestamp) if timestamp and timestamp > BITTORRENT_BIRTHDAY else 'N/A',), Column.VOTES: d('votes', tr("Popularity"), width=120, display_filter=format_votes, tooltip_filter=lambda data: get_votes_rating_description(data) if data is not None else None,), Column.STATUS: d('status', "", sortable=False),