Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Fran6nd committed May 2, 2020
1 parent 33e2246 commit d60ee63
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions npyscreen/fmPopup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,35 +12,30 @@ class Popup(fmForm.Form):
SHOW_ATX = 10
SHOW_ATY = 2


class ActionPopup(fmActionFormV2.ActionFormV2):
DEFAULT_LINES = 12
DEFAULT_COLUMNS = 60
SHOW_ATX = 10
SHOW_ATY = 2


class LoadingPopup(fmForm.Form):
DEFAULT_LINES = 7
DEFAULT_COLUMNS = 12
SHOW_ATX = 10
SHOW_ATY = 2


class MessagePopup(Popup):
def __init__(self, *args, **keywords):
from . import wgmultiline as multiline
super(MessagePopup, self).__init__(*args, **keywords)
self.TextWidget = self.add(multiline.Pager, scroll_exit=True, max_height=self.widget_useable_space()[0]-2)


class PopupWide(Popup):
DEFAULT_LINES = 14
DEFAULT_COLUMNS = None
SHOW_ATX = 0
SHOW_ATY = 0


class ActionPopupWide(fmActionFormV2.ActionFormV2):
DEFAULT_LINES = 14
DEFAULT_COLUMNS = None
Expand Down

0 comments on commit d60ee63

Please sign in to comment.