Skip to content

Commit 01a12e9

Browse files
committed
2 parents a9870e8 + 1def909 commit 01a12e9

File tree

5 files changed

+27
-15
lines changed

5 files changed

+27
-15
lines changed
16.4 KB
Loading

eventsapp/data/jsonfiles/community.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{
44
"name": "PyCon India",
55
"about": "PyCon India, the premier conference in India on using and developing the Python programming language is conducted annually by the Python developer community. It attracts the best Python programmers from across the country and abroad.",
6-
"photo": "https://in.pycon.org/2017/images/logo.png",
6+
"photo": "https://in.pycon.org/2018/img/banner-logo.png",
77
"social":{
88
"website": "https://in.pycon.org/2018/",
99
"twitter": "https://twitter.com/pyconindia",

eventsapp/data/jsonfiles/menuitems.json

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
{
22
"0.0.1": [
3+
{
4+
"menu_item_text": "Home",
5+
"icon_source": "data/images/menu/home.png",
6+
"navigate_to": "WelcomeScreen"
7+
},
38
{
49
"menu_item_text": "Schedule",
510
"icon_source": "data/images/menu/calendar.png",
611
"navigate_to": "ScheduleScreen"
712
},
8-
{
9-
"menu_item_text": "About",
10-
"icon_source": "data/images/menu/about.png",
11-
"navigate_to": "AboutScreen"
12-
},
13+
1314
{
1415
"menu_item_text": "Community",
1516
"icon_source": "data/images/menu/community.png",
@@ -35,15 +36,24 @@
3536
"icon_source": "data/images/menu/sponsor.png",
3637
"navigate_to": "SponsorScreen"
3738
},
39+
3840
{
3941
"menu_item_text": "Contact Us",
4042
"icon_source": "data/images/menu/contactus.png",
4143
"navigate_to": "ContactUsScreen"
4244
},
45+
4346
{
4447
"menu_item_text": "History",
4548
"icon_source": "data/images/menu/history.png",
4649
"navigate_to": "AboutPyConScreen"
50+
},
51+
52+
{
53+
"menu_item_text": "About",
54+
"icon_source": "data/images/menu/about.png",
55+
"navigate_to": "AboutScreen"
4756
}
57+
4858
]
4959
}

eventsapp/uix/screens/communityscreen.py

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,28 +24,29 @@ class CommunityScreen(Screen):
2424
CardsContainer:
2525
size_hint_y: 1
2626
CardStackLayout:
27+
spacing: dp(9)
2728
AsyncImage
2829
id: logo
2930
size_hint_y: None
30-
height: self.parent.height/4
31-
source: 'data/images/logo.png'
31+
height: self.parent.height/3
32+
source: 'data/images/lg.png'
3233
Label:
3334
id: about
3435
text: ''
3536
size_hint_y: None
36-
height: self.parent.height/4
37+
height: self.parent.height/3
3738
text_size: self.size
3839
halign: 'center'
3940
valign: 'center'
40-
font_size: dp(20)
41+
font_size: dp(15)
4142
color: 0, 0, 0, 1
4243
BoxLayout:
4344
orientation: 'vertical'
44-
spacing: dp(20)
45+
spacing: dp(1)
4546
size_hint_y: None
46-
size: self.size[0], dp(150)
47+
size: self.size[0], dp(100)
4748
id: social_icons
48-
padding: dp(10), dp(15)
49+
padding: dp(20), dp(20)
4950
''')
5051

5152
def add_social_icons(self, instance, data):

eventsapp/uix/screens/navigationscreen.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
But6 | ---------------------- |
2323
| |
2424
| |
25+
But7 | |
2526
'''
2627

2728

@@ -113,7 +114,7 @@ def on_menu_press(self):
113114
Label:
114115
text: root.title
115116
shorten: True
116-
text_size: self.size
117+
text_sizeobi: self.size
117118
font_size: dp(22)
118119
halign: 'left'
119120
valign: 'center'
@@ -124,7 +125,7 @@ class NavigationScreen(Screen):
124125

125126
Builder.load_string('''
126127
<NavButton>
127-
padding: dp(10)
128+
padding: dp(6)
128129
spacing: dp(10)
129130
on_release:
130131
app.navigation_screen.ids.drawer.toggle_state()

0 commit comments

Comments
 (0)