Skip to content

Commit

Permalink
ui, stats: better position for rules panes
Browse files Browse the repository at this point in the history
On the first run the left pane was taking all the space on some
environments.
  • Loading branch information
gustavo-iniguez-goya committed Jan 12, 2021
1 parent bdafd7f commit e23b838
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ui/opensnitch/dialogs/stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,8 @@ def _load_settings(self):
if type(rules_splitter_pos) == QtCore.QByteArray:
self.rulesSplitter.restoreState(rules_splitter_pos)
else:
self.rulesSplitter.setSizes([200, self.rulesSplitter.width() - 200])
w = self.rulesSplitter.width()
self.rulesSplitter.setSizes([w/4, w/2])

header = self.eventsTable.horizontalHeader()
header.blockSignals(True);
Expand Down

0 comments on commit e23b838

Please sign in to comment.