1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 10:28:10 +00:00

GTreeView: Add expand/collapse buttons to items with children.

This commit is contained in:
Andreas Kling 2019-03-29 20:18:15 +01:00
parent eb182bcafc
commit 967eec1e52
4 changed files with 15 additions and 2 deletions

View file

@ -21,6 +21,7 @@ private:
int indent_width_in_pixels() const { return 16; }
int icon_size() const { return 16; }
int icon_spacing() const { return 4; }
int toggle_size() const { return 9; }
template<typename Callback>
void traverse_in_paint_order(Callback) const;