Switched to \u notation for button icons

This commit is contained in:
Luxferre
2024-10-08 09:59:47 +03:00
parent 2a2ec72724
commit a932a3cda6
+3 -3
View File
@@ -928,11 +928,11 @@ ttk::frame .ctrl -padding 4
# change this to 2605 when active # change this to 2605 when active
set bookmarkactive "\u2606" set bookmarkactive "\u2606"
set bookmarklabel "Add bookmark" set bookmarklabel "Add bookmark"
grid [ttk::button .ctrl.back -text "" -width $btnwidth -style bfg.TButton -command {goback}] \ grid [ttk::button .ctrl.back -text "\u21a9" -width $btnwidth -style bfg.TButton -command {goback}] \
-row 0 -column 0 -sticky nes -padx $btnpad -row 0 -column 0 -sticky nes -padx $btnpad
grid [ttk::button .ctrl.fwd -text "" -width $btnwidth -style bfg.TButton -command {goforward}] \ grid [ttk::button .ctrl.fwd -text "\u21aa" -width $btnwidth -style bfg.TButton -command {goforward}] \
-row 0 -column 1 -sticky nes -padx $btnpad -row 0 -column 1 -sticky nes -padx $btnpad
grid [ttk::button .ctrl.refresh -text "" -width $btnwidth -style bfg.TButton -command {urlfetch "$targeturl" 0}] \ grid [ttk::button .ctrl.refresh -text "\u21bb" -width $btnwidth -style bfg.TButton -command {urlfetch "$targeturl" 0}] \
-row 0 -column 2 -sticky nes -padx $btnpad -row 0 -column 2 -sticky nes -padx $btnpad
grid [ttk::entry .ctrl.addr -textvariable targeturl -width 40 -font bfg_entryfont] -row 0 -column 3 -sticky nswe -ipadx $btnpad grid [ttk::entry .ctrl.addr -textvariable targeturl -width 40 -font bfg_entryfont] -row 0 -column 3 -sticky nswe -ipadx $btnpad
grid [ttk::menubutton .ctrl.bkm -textvariable bookmarkactive -style bfg.TButton -width $btnwidth -menu .ctrl.bkm.menu] \ grid [ttk::menubutton .ctrl.bkm -textvariable bookmarkactive -style bfg.TButton -width $btnwidth -menu .ctrl.bkm.menu] \