Украшательства
This commit is contained in:
parent
9712decbec
commit
d5bf9486a4
|
@ -70,7 +70,7 @@ if [info exists cfgVariables(theme)] {
|
|||
}
|
||||
|
||||
ttk::frame .frmMenu -border 0 -relief raised
|
||||
ttk::frame .frmBody -border 1 -relief raised
|
||||
ttk::frame .frmBody -border 0 -relief raised
|
||||
ttk::frame .frmStatus -border 0 -relief raised
|
||||
pack .frmMenu -side top -padx 1 -fill x
|
||||
pack .frmBody -side top -padx 1 -fill both -expand true
|
||||
|
@ -122,7 +122,7 @@ pack $frmTool.btn_tree $frmTool.btn_search $frmTool.btn_git -side top -padx 1 -p
|
|||
# #pack $frmTool.lbl_logo -side bottom -padx 5 -pady 5
|
||||
#
|
||||
# # Дерево с полосами прокрутки
|
||||
set frmTree [ttk::frame .frmBody.frmTree]
|
||||
set frmTree [ttk::frame .frmBody.frmTree -border 0]
|
||||
|
||||
set tree [ttk::treeview $frmTree.tree -show tree \
|
||||
-xscrollcommand [list .frmBody.frmTree.h set] \
|
||||
|
|
|
@ -10,7 +10,7 @@ exec wish "$0" -- "$@"
|
|||
######################################################
|
||||
# Version: 2.0.0
|
||||
# Release: alpha
|
||||
# Build: 14112022113440
|
||||
# Build: 14112022151107
|
||||
######################################################
|
||||
|
||||
# определим текущую версию, релиз и т.д.
|
||||
|
|
|
@ -92,8 +92,11 @@ namespace eval ttk::theme::black {
|
|||
-fieldbackground white -foreground black \
|
||||
-padding {2 0}
|
||||
|
||||
$styleCmd configure TNotebook \
|
||||
-border -1
|
||||
$styleCmd configure TNotebook.Tab \
|
||||
-padding {6 2 6 2}
|
||||
-padding {6 2 6 2} \
|
||||
-border -1
|
||||
|
||||
$styleCmd map TNotebook.Tab -background [list \
|
||||
selected $colors(-lighter)]
|
||||
|
@ -105,7 +108,7 @@ namespace eval ttk::theme::black {
|
|||
|
||||
$styleCmd configure TreeCtrl \
|
||||
-background gray30 -itembackground {gray60 gray50} \
|
||||
-itemfill white -itemaccentfill yellow
|
||||
-itemfill white -itemaccentfill yellow -border -1
|
||||
|
||||
$styleCmd map Treeview\
|
||||
-background [list selected $colors(-lighter)] \
|
||||
|
@ -114,6 +117,7 @@ namespace eval ttk::theme::black {
|
|||
|
||||
$styleCmd configure Treeview -fieldbackground gray25
|
||||
}
|
||||
puts [ttk::style element names]
|
||||
}
|
||||
|
||||
# A few tricks for Tablelist.
|
||||
|
|
Loading…
Reference in New Issue
Block a user