set blocksize 4096
set width 128
-set scale 2
+
+# For 1024x768 and 1280x1024 use scale 1
+# For larger screens use scale 2
+if { [winfo screenheight .] > 1024 } {
+ set scale 2
+} else {
+ set scale 1
+}
# This list is used to store all the RAID handles.
set handles {}
}
# Set up the window.
+wm attributes . -topmost 1
wm title . "nbdraid"
wm resizable . false false