summaryrefslogtreecommitdiff
path: root/configs/sim/axis/ngcgui/axis_resize.tcl
blob: d993212fd89d88e553c8534a38d7cc37eaf64175 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# user command file to increase default axis gui size

# invoke with the ini file item:
# [DISPLAY]USER_COMMAND_FILE = axis_resize.tcl

maxgeo=root_window.tk.call("wm","maxsize",".")
fullw=maxgeo.split(' ')[0]
fullh=maxgeo.split(' ')[1]
fullsize=fullw +'x' + fullh

# custom size (to accomodate bigger gladevcp panels)
newsize = '800' + 'x' + '680'
# for fullsize: uncomment this
# newsize=fullsize

root_window.tk.call("wm","geometry",".",newsize)