Skip to content

Commit

Permalink
Merge pull request ros#302 from cottsay/color_fix
Browse files Browse the repository at this point in the history
rqt_reconfigure: Fix background colors for dark themes
  • Loading branch information
cottsay committed Feb 9, 2015
2 parents a59fb63 + 688a8c6 commit 74a92a5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rqt_reconfigure/src/rqt_reconfigure/paramedit_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,8 @@ def show_reconf(self, dynreconf_widget):

# Add color to alternate the rim of the widget.
LayoutUtil.alternate_color(self._dynreconf_clients.itervalues(),
[Qt.white, Qt.lightGray])
[self.palette().background().color().lighter(125),
self.palette().background().color().darker(125)])

def close(self):
for dc in self._dynreconf_clients:
Expand Down

0 comments on commit 74a92a5

Please sign in to comment.