Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions rqt_bag/src/rqt_bag/bag_timeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -555,6 +555,9 @@ def translate_timeline_left(self):
def translate_timeline_right(self):
self._timeline_frame.translate_timeline_right()

def update_size(self):
self._timeline_frame.update_size()

# Publishing
def is_publishing(self, topic):
return self._player and self._player.is_publishing(topic)
Expand Down
1 change: 1 addition & 0 deletions rqt_bag/src/rqt_bag/bag_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,7 @@ def shutdown_all(self):
self._timeline.handle_close()

def update_size(self):
self._timeline.update_size()
self._resizeEvent(QResizeEvent(self.size(), self.size()))

def on_mousewheel(self, event):
Expand Down
3 changes: 3 additions & 0 deletions rqt_bag/src/rqt_bag/timeline_frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,9 @@ def _layout(self):
if new_history_bottom != self._history_bottom:
self._history_bottom = new_history_bottom

def update_size(self):
self._layout()

def _draw_topic_histories(self, painter):
"""
Draw all topic messages.
Expand Down