Skip to content

Commit

Permalink
hint alternate row style
Browse files Browse the repository at this point in the history
  • Loading branch information
yatima1460 committed Jul 13, 2019
1 parent 083f5cb commit 3998847
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Source/Frontend/GTK/Window.d
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,10 @@ public:

this.treeview = new TreeView();
treeview.setEnableSearch(false);

// tries to draw the rows with alternate colors
// it will do nothing if the theme does not support it
treeview.setRulesHint(true);

this.createNewList();
this.treeview.addOnRowActivated(&doubleclick);
Expand Down

0 comments on commit 3998847

Please sign in to comment.