Created showNotesAction and ShowPunchcardAction
This commit is contained in:
parent
f1ab340b11
commit
5000d266fe
@ -9,3 +9,13 @@ toolsMenuAction = action (
|
|||||||
name: 'Show Tools Menu',
|
name: 'Show Tools Menu',
|
||||||
closure: controller.&showToolsMenu
|
closure: controller.&showToolsMenu
|
||||||
)
|
)
|
||||||
|
|
||||||
|
showNotesAction = action (
|
||||||
|
name: 'Show Notes',
|
||||||
|
closure: controller.&showNotes
|
||||||
|
)
|
||||||
|
|
||||||
|
showPunchcardAction = action (
|
||||||
|
name: 'Show Punchcard',
|
||||||
|
closure: controller.&showPunchcard
|
||||||
|
)
|
||||||
|
@ -45,9 +45,10 @@ application(title:'TimeStamper',
|
|||||||
|
|
||||||
panel(constraints: 'alignx leading, aligny top, gapright 5px, wrap') {
|
panel(constraints: 'alignx leading, aligny top, gapright 5px, wrap') {
|
||||||
boxLayout(axis: BoxLayout.X_AXIS)
|
boxLayout(axis: BoxLayout.X_AXIS)
|
||||||
toggleButton(icon: imageIcon('/16-em-pencil.png'),
|
toggleButton(showNotesAction, icon: imageIcon('/16-em-pencil.png'),
|
||||||
border: emptyBorder(4))
|
border: emptyBorder(4))
|
||||||
toggleButton(icon: imageIcon('/16-file-archive.png'),
|
toggleButton(showPunchcardAction,
|
||||||
|
icon: imageIcon('/16-file-archive.png'),
|
||||||
border: emptyBorder(4))
|
border: emptyBorder(4))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user