use TextButton in zone overlay

develop
Myk Taylor 2023-07-16 20:24:46 -07:00
parent 2d2ecf6f0d
commit e1946018f8
No known key found for this signature in database
GPG Key ID: 8A39CA0FA0C16E78
1 changed files with 3 additions and 3 deletions

@ -700,16 +700,16 @@ end
PastureOverlay = defclass(PastureOverlay, overlay.OverlayWidget) PastureOverlay = defclass(PastureOverlay, overlay.OverlayWidget)
PastureOverlay.ATTRS{ PastureOverlay.ATTRS{
default_pos={x=9,y=13}, default_pos={x=7,y=13},
default_enabled=true, default_enabled=true,
viewscreens='dwarfmode/Zone/Some/Pen', viewscreens='dwarfmode/Zone/Some/Pen',
frame={w=30, h=1}, frame={w=32, h=1},
frame_background=gui.CLEAR_PEN, frame_background=gui.CLEAR_PEN,
} }
function PastureOverlay:init() function PastureOverlay:init()
self:addviews{ self:addviews{
widgets.HotkeyLabel{ widgets.TextButton{
frame={t=0, l=0}, frame={t=0, l=0},
label='DFHack search and sort', label='DFHack search and sort',
key='CUSTOM_CTRL_T', key='CUSTOM_CTRL_T',