Skip to content

Commit 74aa982

Browse files
authored
Merge pull request #105 from ritukapatwal/master
Community Page icons aligned
2 parents ee5402a + 0c0bf51 commit 74aa982

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

eventsapp/uix/screens/communityscreen.py

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,29 +24,31 @@ class CommunityScreen(Screen):
2424
CardsContainer:
2525
size_hint_y: 1
2626
CardStackLayout:
27-
spacing: dp(9)
27+
spacing: dp(4)
2828
AsyncImage
2929
id: logo
3030
size_hint_y: None
31-
height: self.parent.height/3
31+
height: self.parent.height/3.5
3232
source: 'data/images/lg.png'
3333
Label:
3434
id: about
3535
text: ''
3636
size_hint_y: None
37-
height: self.parent.height/3
37+
height: self.parent.height/2.5
3838
text_size: self.size
3939
halign: 'center'
4040
valign: 'center'
4141
font_size: dp(15)
4242
color: 0, 0, 0, 1
43-
BoxLayout:
44-
orientation: 'vertical'
45-
spacing: dp(1)
46-
size_hint_y: None
47-
size: self.size[0], dp(100)
43+
GridLayout:
44+
cols: 5 if self.width > dp(200) else 3
45+
rows: 1 if self.width > dp(200) else 2
46+
size_hint_y: None
47+
height: dp(100)
4848
id: social_icons
4949
padding: dp(20), dp(20)
50+
spacing: dp(10), dp(10)
51+
5052
''')
5153

5254
def add_social_icons(self, instance, data):

0 commit comments

Comments
 (0)