Skip to content

Commit

Permalink
use more usual layout for the window text
Browse files Browse the repository at this point in the history
top aligned, not centered
  • Loading branch information
myk002 committed Jan 2, 2024
1 parent 2ef33ad commit ac18da7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions confirm.lua
Original file line number Diff line number Diff line change
Expand Up @@ -347,15 +347,15 @@ end

PromptWindow = defclass(PromptWindow, widgets.Window)
PromptWindow.ATTRS {
frame={w=47, h=16},
frame={w=47, h=12},
conf=DEFAULT_NIL,
propagate_fn=DEFAULT_NIL,
}

function PromptWindow:init()
self:addviews{
widgets.WrappedLabel{
frame={t=0, l=0, r=0, b=3},
frame={t=0, l=0, r=0},
text_to_wrap=self.conf.message,
},
widgets.HotkeyLabel{
Expand Down

0 comments on commit ac18da7

Please sign in to comment.