Skip to content

Commit

Permalink
Configuration arranged in alphabetical order
Browse files Browse the repository at this point in the history
  • Loading branch information
vlachoudis committed Feb 15, 2016
1 parent 097eabc commit 554f906
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions ToolsPage.py
Original file line number Diff line number Diff line change
Expand Up @@ -1072,33 +1072,33 @@ def __init__(self, master, app):
# ===
row += 1
b = Ribbon.LabelRadiobutton(self.frame,
image=Utils.icons["config"],
text=_("Machine"),
image=Utils.icons["camera"],
text=_("Camera"),
compound=LEFT,
anchor=W,
variable=app.tools.active,
value="CNC",
value="Camera",
background=Ribbon._BACKGROUND)
b.grid(row=row, column=col, padx=0, pady=0, sticky=NSEW)
tkExtra.Balloon.set(b, _("Machine configuration for bCNC"))
tkExtra.Balloon.set(b, _("Camera Configuration"))
self.addWidget(b)

# ---
row += 1
b = Ribbon.LabelRadiobutton(self.frame,
image=Utils.icons["shortcut"],
text=_("Shortcuts"),
image=Utils.icons["color"],
text=_("Colors"),
compound=LEFT,
anchor=W,
variable=app.tools.active,
value="Shortcut",
value="Color",
background=Ribbon._BACKGROUND)
b.grid(row=row, column=col, padx=0, pady=0, sticky=NSEW)
tkExtra.Balloon.set(b, _("Shortcuts"))
tkExtra.Balloon.set(b, _("Color configuration"))
self.addWidget(b)

# ===
col,row = 1,1
col,row = col+1,1
b = Ribbon.LabelRadiobutton(self.frame,
image=Utils.icons["font"],
text=_("Fonts"),
Expand All @@ -1114,29 +1114,29 @@ def __init__(self, master, app):
# ---
row += 1
b = Ribbon.LabelRadiobutton(self.frame,
image=Utils.icons["color"],
text=_("Colors"),
image=Utils.icons["config"],
text=_("Machine"),
compound=LEFT,
anchor=W,
variable=app.tools.active,
value="Color",
value="CNC",
background=Ribbon._BACKGROUND)
b.grid(row=row, column=col, padx=0, pady=0, sticky=NSEW)
tkExtra.Balloon.set(b, _("Color configuration"))
tkExtra.Balloon.set(b, _("Machine configuration for bCNC"))
self.addWidget(b)

# ===
col,row = 2,1
col,row = col+1,1
b = Ribbon.LabelRadiobutton(self.frame,
image=Utils.icons["camera"],
text=_("Camera"),
image=Utils.icons["shortcut"],
text=_("Shortcuts"),
compound=LEFT,
anchor=W,
variable=app.tools.active,
value="Camera",
value="Shortcut",
background=Ribbon._BACKGROUND)
b.grid(row=row, column=col, padx=0, pady=0, sticky=NSEW)
tkExtra.Balloon.set(b, _("Camera Configuration"))
tkExtra.Balloon.set(b, _("Shortcuts"))
self.addWidget(b)

#----------------------------------------------------------------------
Expand Down

0 comments on commit 554f906

Please sign in to comment.