2020-01-10 15:07:43 +01:00
|
|
|
<MailDetail>:
|
|
|
|
name: 'mailDetail'
|
|
|
|
ScrollView:
|
|
|
|
do_scroll_x: False
|
|
|
|
BoxLayout:
|
|
|
|
size_hint_y: None
|
2020-02-05 09:53:04 +01:00
|
|
|
orientation: 'vertical'
|
2020-02-19 16:46:13 +01:00
|
|
|
# height: dp(bod.height) + self.minimum_height
|
|
|
|
height: self.minimum_height
|
2020-05-12 13:04:12 +02:00
|
|
|
padding: dp(10)
|
2020-02-19 16:46:13 +01:00
|
|
|
# MDLabel:
|
|
|
|
# size_hint_y: None
|
|
|
|
# id: subj
|
|
|
|
# text: root.subject
|
|
|
|
# theme_text_color: 'Primary'
|
|
|
|
# halign: 'left'
|
|
|
|
# font_style: 'H5'
|
|
|
|
# height: dp(40)
|
|
|
|
# on_touch_down: root.allclick(self)
|
|
|
|
OneLineListTitle:
|
2020-02-05 09:53:04 +01:00
|
|
|
id: subj
|
2020-01-10 15:07:43 +01:00
|
|
|
text: root.subject
|
2020-02-05 09:53:04 +01:00
|
|
|
divider: None
|
|
|
|
font_style: 'H5'
|
2020-01-10 15:07:43 +01:00
|
|
|
theme_text_color: 'Primary'
|
2020-02-19 16:46:13 +01:00
|
|
|
_no_ripple_effect: True
|
|
|
|
long_press_time: 1
|
2020-02-05 09:53:04 +01:00
|
|
|
TwoLineAvatarIconListItem:
|
|
|
|
id: subaft
|
|
|
|
text: root.from_addr
|
|
|
|
secondary_text: 'to ' + root.to_addr
|
|
|
|
divider: None
|
2020-02-19 16:46:13 +01:00
|
|
|
on_press: root.detailedPopup()
|
2020-02-05 09:53:04 +01:00
|
|
|
BadgeText:
|
|
|
|
text: root.time_tag
|
|
|
|
halign:'right'
|
|
|
|
font_style:'Caption'
|
2020-03-02 11:42:15 +01:00
|
|
|
pos_hint: {'center_y': .8}
|
2020-05-12 13:04:12 +02:00
|
|
|
_txt_right_pad: dp(70)
|
2020-03-02 11:42:15 +01:00
|
|
|
MDChip:
|
|
|
|
size_hint: (None, None)
|
|
|
|
label: root.page_type
|
|
|
|
icon: ''
|
|
|
|
pos_hint: {'center_x': .94, 'center_y': .3}
|
|
|
|
radius: 8
|
|
|
|
height: 18
|
2020-02-05 09:53:04 +01:00
|
|
|
AvatarSampleWidget:
|
|
|
|
source: root.avatarImg
|
2020-02-19 16:46:13 +01:00
|
|
|
MDLabel:
|
2020-01-10 15:07:43 +01:00
|
|
|
text: root.status
|
2020-02-05 09:53:04 +01:00
|
|
|
disabled: True
|
|
|
|
font_style: 'Body2'
|
|
|
|
halign:'left'
|
2020-02-19 16:46:13 +01:00
|
|
|
padding_x: 20
|
|
|
|
# MDLabel:
|
|
|
|
# id: bod
|
|
|
|
# font_style: 'Subtitle2'
|
|
|
|
# theme_text_color: 'Primary'
|
|
|
|
# text: root.message
|
|
|
|
# halign: 'left'
|
|
|
|
# height: self.texture_size[1]
|
|
|
|
MyMDTextField:
|
2020-02-05 09:53:04 +01:00
|
|
|
id: bod
|
2020-02-19 16:46:13 +01:00
|
|
|
size_hint_y: None
|
2020-01-10 15:07:43 +01:00
|
|
|
font_style: 'Subtitle2'
|
|
|
|
text: root.message
|
2020-02-19 16:46:13 +01:00
|
|
|
multiline: True
|
|
|
|
readonly: True
|
|
|
|
line_color_normal: [0,0,0,0]
|
|
|
|
_current_line_color: [0,0,0,0]
|
|
|
|
line_color_focus: [0,0,0,0]
|
|
|
|
markup: True
|
|
|
|
font_size: '15sp'
|
2020-01-10 15:07:43 +01:00
|
|
|
Loader:
|