Skip to content

Commit

Permalink
Merge pull request #698 from kartoza/timlinux/issue670
Browse files Browse the repository at this point in the history
Fix issue #670 make styling correct
  • Loading branch information
timlinux authored Dec 10, 2024
2 parents 80a6224 + 952a3d7 commit 7ae7883
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions geest/gui/panels/tree_panel.py
Original file line number Diff line number Diff line change
Expand Up @@ -1081,6 +1081,12 @@ def on_workflow_started(self, item):
self.child_movie = QMovie(resources_path("resources", "throbber.gif"))
self.parent_movie = QMovie(resources_path("resources", "throbber.gif"))

# If this is an indicator, caclulate height for parent in case the indicator is hidden
if item.role == "indicator":
parent_item = item.parent()
parent_index = self.model.itemIndex(parent_item)
row_height = self.treeView.rowHeight(parent_index)

# Scale movies
self.child_movie.setScaledSize(
self.child_movie.currentPixmap()
Expand Down
Binary file added geest/resources/geest_styling.xlsx
Binary file not shown.

0 comments on commit 7ae7883

Please sign in to comment.