From 5c1c840e44a9c17aaaa163885d86125c1ab97c44 Mon Sep 17 00:00:00 2001 From: svkalinin Date: Thu, 15 Sep 2022 09:35:23 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A3=D1=81=D1=82=D0=B0=D0=BD=D0=BE=D0=B2?= =?UTF-8?q?=D0=BA=D0=B0=20=D1=84=D0=BE=D0=BA=D1=83=D1=81=D0=B0=20=D0=BD?= =?UTF-8?q?=D0=B0=20=D1=82=D0=B5=D0=BA=D1=81=D1=82=20=D0=B2=20=D1=80=D0=B5?= =?UTF-8?q?=D0=B4=D0=B0=D0=BA=D1=82=D0=BE=D1=80=D0=B5=20=D0=BF=D1=80=D0=B8?= =?UTF-8?q?=20=D1=89=D0=B5=D0=BB=D1=87=D0=BA=D0=B5=20=D0=BD=D0=B0=20=D0=B7?= =?UTF-8?q?=D0=B0=D0=B3=D0=BE=D0=BB=D0=BE=D0=B2=D0=BE=D0=BA=20=D0=B2=D0=BA?= =?UTF-8?q?=D0=BB=D0=B0=D0=B4=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/gui.tcl | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lib/gui.tcl b/lib/gui.tcl index 473aa04..709aacb 100644 --- a/lib/gui.tcl +++ b/lib/gui.tcl @@ -136,10 +136,11 @@ grid rowconfigure $frmTree 0 -weight 1 set frmWork [ttk::frame .frmWork -border 0 -relief flat] set nbEditor [ttk::notebook $frmWork.nbEditor] +pack $nbEditor -side left -fill both -expand true -#grid $nbEditor -row 0 -column 0 -sticky nsew -pack $nbEditor -fill both -expand true - +# set nbEditor2 [ttk::notebook $frmWork.nbEditor2] +# pack $nbEditor2 -side left -fill both -expand true +# # Create an image CLOSE for tab ttk::style element create close_button image close_10x10 -height 12 -width 12 -sticky e -padding {10 0} @@ -153,7 +154,7 @@ ttk::style layout TNotebook.Tab { } bind TNotebook "catch {NB::PressTab %W %x %y}\;[bind TNotebook ];break" # bind <> "NB::PressTab %W %x %y" - +bind TNotebook "NB::PressTab %W %x %y" # bind . "NB::NextTab $nbEditor" bind . "NB::NextTab $nbEditor 1" bind . "NB::NextTab $nbEditor -1"