mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Bug 798960 - Transaction completion horizontal scrolling
When a description popup has long text a horizontal scroll bar will be used. If a subsequent popup has short text which does not need a scroll bar, the previous one is still visible so queue a tree view column resize to reevaluate the need for a scroll bar.
This commit is contained in:
parent
59ec7e4613
commit
0449b73e96
@ -565,6 +565,10 @@ select_first_entry_in_list (PopBox* box)
|
||||
if (!gtk_tree_model_iter_next (model, &iter))
|
||||
return;
|
||||
|
||||
// reset horizontal scrolling
|
||||
gtk_tree_view_column_queue_resize (gtk_tree_view_get_column (
|
||||
box->item_list->tree_view, TEXT_COL));
|
||||
|
||||
gtk_tree_model_get (model, &iter, TEXT_COL, &string, -1);
|
||||
|
||||
gnc_item_list_select (box->item_list, string);
|
||||
|
Loading…
Reference in New Issue
Block a user