Hi,
I find it more useful to have program view on the left, rather than
bottom...
Please consider.
Thanks,
Alex.
AXIS: Move program text to the left panel.
From: Alexey Starikovskiy <astarikovs...@suse.de>
---
share/axis/tcl/axis.tcl | 44 +++++++++++++++++----------------
src/emc/usr_intf/axis/scripts/axis.py | 2 +-
2 files changed, 23 insertions(+), 23 deletions(-)
diff --git a/share/axis/tcl/axis.tcl b/share/axis/tcl/axis.tcl
index 24f0174..5e39be0 100644
--- a/share/axis/tcl/axis.tcl
+++ b/share/axis/tcl/axis.tcl
@@ -1496,34 +1496,34 @@ pack .info.tool \
pack .info.position \
-side left
-frame ${pane_bottom}.t \
+frame ${pane_top}.t \
-borderwidth 2 \
-relief sunken \
-highlightthickness 1
-text ${pane_bottom}.t.text \
+text ${pane_top}.t.text \
-borderwidth 0 \
-exportselection 0 \
-height 9 \
-highlightthickness 0 \
-relief flat \
-takefocus 0 \
- -yscrollcommand [list ${pane_bottom}.t.sb set]
-${pane_bottom}.t.text insert end {}
+ -yscrollcommand [list ${pane_top}.t.sb set]
+${pane_top}.t.text insert end {}
-scrollbar ${pane_bottom}.t.sb \
+scrollbar ${pane_top}.t.sb \
-borderwidth 0 \
- -command [list ${pane_bottom}.t.text yview] \
+ -command [list ${pane_top}.t.text yview] \
-highlightthickness 0
-# Pack widget ${pane_bottom}.t.text
-pack ${pane_bottom}.t.text \
+# Pack widget ${pane_top}.t.text
+pack ${pane_top}.t.text \
-expand 1 \
-fill both \
-side left
-# Pack widget ${pane_bottom}.t.sb
-pack ${pane_bottom}.t.sb \
+# Pack widget ${pane_top}.t.sb
+pack ${pane_top}.t.sb \
-fill y \
-side left
@@ -1730,34 +1730,34 @@ wm protocol .keys WM_DELETE_WINDOW {wm wi .keys}
# Grid widget ${pane_top}.feedoverride
grid ${pane_top}.feedoverride \
-column 0 \
- -row 2 \
+ -row 3 \
-sticky new
# Grid widget ${pane_top}.spinoverride
grid ${pane_top}.spinoverride \
-column 0 \
- -row 3 \
+ -row 4 \
-sticky new
grid ${pane_top}.jogspeed \
-column 0 \
- -row 4 \
+ -row 5 \
-sticky new
grid ${pane_top}.ajogspeed \
-column 0 \
- -row 5 \
+ -row 6 \
-sticky new
grid ${pane_top}.maxvel \
-column 0 \
- -row 6 \
+ -row 7 \
-sticky new
# Grid widget .info
grid .info \
-column 0 \
- -row 6 \
+ -row 8 \
-columnspan 2 \
-sticky ew
@@ -1774,17 +1774,17 @@ grid ${pane_top}.right \
grid ${pane_top}.tabs \
-column 0 \
-row 1 \
- -sticky nesw \
+ -sticky new \
-padx 2 \
-pady 2
grid rowconfigure ${pane_top} 1 -weight 1
grid columnconfigure ${pane_top} 1 -weight 1
-grid ${pane_bottom}.t \
- -column 1 \
- -row 1 \
+grid ${pane_top}.t \
+ -column 0 \
+ -row 2 \
-sticky nesw
-grid rowconfigure ${pane_bottom} 1 -weight 1
-grid columnconfigure ${pane_bottom} 1 -weight 1
+grid rowconfigure ${pane_top} 2 -weight 100
+grid columnconfigure ${pane_top} 1 -weight 1
grid .top -column 0 -row 1 -sticky nsew
grid .bottom -column 0 -row 2 -sticky nsew
diff --git a/src/emc/usr_intf/axis/scripts/axis.py b/src/emc/usr_intf/axis/scripts/axis.py
index 15b8f78..c8b1a0f 100755
--- a/src/emc/usr_intf/axis/scripts/axis.py
+++ b/src/emc/usr_intf/axis/scripts/axis.py
@@ -1998,7 +1998,7 @@ pane_bottom = str(root_window.tk.call("set", "pane_bottom"))
widgets = nf.Widgets(root_window,
("help_window", Toplevel, ".keys"),
("about_window", Toplevel, ".about"),
- ("text", Text, pane_bottom + ".t.text"),
+ ("text", Text, pane_top + ".t.text"),
("preview_frame", Frame, tabs_preview),
("numbers_text", Text, tabs_numbers + ".text"),
("tabs", bwidget.NoteBook, pane_top + ".tabs"),
------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers