Skip to content

Commit

Permalink
feat(colors_list: color row): use monospace style for entries
Browse files Browse the repository at this point in the history
  • Loading branch information
actionless committed Dec 24, 2018
1 parent b2c62e2 commit 2c0c923
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion oomox_gui/colors_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -356,8 +356,9 @@ def __init__(self, display_name, key, callback, transient_for):
callback=self.on_color_set
)
self.color_entry = Gtk.Entry(
text=_('<none>'), width_chars=7, max_length=6
text=_('<none>'), width_chars=6, max_length=6
)
self.color_entry.get_style_context().add_class(Gtk.STYLE_CLASS_MONOSPACE)
# unfortunately linked box is causing weird redraw issues
# in current GTK version, let's leave it for later
linked_box = Gtk.Box(orientation=Gtk.Orientation.HORIZONTAL)
Expand Down

0 comments on commit 2c0c923

Please sign in to comment.