make title column interactive too and auto-stretch last column - fixes #1319
This commit is contained in:
parent
8dd2fca3bc
commit
310c3068bd
File diff suppressed because it is too large
Load Diff
@ -9,6 +9,7 @@ Added:
|
|||||||
* Added way to use old legacy article formatting in "lite" version. (#1286)
|
* Added way to use old legacy article formatting in "lite" version. (#1286)
|
||||||
* New way of fetching articles - new "Source" -> "Built-in web browser with JavaScript support" which allows user to use built-in Chromium-based network stack to fetch feeds and other data. It allows even fetching of majority of JavaScript-powered websites. (#1313)
|
* New way of fetching articles - new "Source" -> "Built-in web browser with JavaScript support" which allows user to use built-in Chromium-based network stack to fetch feeds and other data. It allows even fetching of majority of JavaScript-powered websites. (#1313)
|
||||||
* More date/time strings for parsing some dates and times in articles.
|
* More date/time strings for parsing some dates and times in articles.
|
||||||
|
* "Title" column in article list is not directly resizable too. Last visible column auto-stretches to fit remaining space. (#1319)
|
||||||
|
|
||||||
Fixed:
|
Fixed:
|
||||||
* Fix freezing when feed uses crazy crazy loooong URL.
|
* Fix freezing when feed uses crazy crazy loooong URL.
|
||||||
|
@ -352,7 +352,7 @@ void MessagesView::setupAppearance() {
|
|||||||
header()->setMinimumSectionSize(MESSAGES_VIEW_MINIMUM_COL);
|
header()->setMinimumSectionSize(MESSAGES_VIEW_MINIMUM_COL);
|
||||||
header()->setFirstSectionMovable(true);
|
header()->setFirstSectionMovable(true);
|
||||||
header()->setCascadingSectionResizes(false);
|
header()->setCascadingSectionResizes(false);
|
||||||
header()->setStretchLastSection(false);
|
header()->setStretchLastSection(true);
|
||||||
|
|
||||||
adjustColumns();
|
adjustColumns();
|
||||||
}
|
}
|
||||||
@ -915,7 +915,7 @@ void MessagesView::adjustColumns() {
|
|||||||
header()->setSectionResizeMode(i, QHeaderView::ResizeMode::Interactive);
|
header()->setSectionResizeMode(i, QHeaderView::ResizeMode::Interactive);
|
||||||
}
|
}
|
||||||
|
|
||||||
header()->setSectionResizeMode(MSG_DB_TITLE_INDEX, QHeaderView::ResizeMode::Stretch);
|
// header()->setSectionResizeMode(MSG_DB_TITLE_INDEX, QHeaderView::ResizeMode::Stretch);
|
||||||
|
|
||||||
// Hide columns.
|
// Hide columns.
|
||||||
hideColumn(MSG_DB_ID_INDEX);
|
hideColumn(MSG_DB_ID_INDEX);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user