Skip to content

Commit

Permalink
Adjust UI to fit iPad
Browse files Browse the repository at this point in the history
  • Loading branch information
tsh22 committed Jan 6, 2022
1 parent 263db88 commit 373cea9
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
9 changes: 6 additions & 3 deletions screens/HomeScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -300,13 +300,16 @@ const styles = StyleSheet.create({
},
topIconBox: {
borderRadius: 10,
height: 80,
height: undefined,
aspectRatio: 10 / 8,
width: (Dimensions.get("window").width - 80) / 3,
},
topIconBox2: {
flex: 1,
// height: 80,
// width: (Dimensions.get("window").width - 80) / 3,
height: 80,
height: undefined,
aspectRatio: 10 / 8,
width: (Dimensions.get("window").width - 80) / 3,
},
navigationIcons: {
flex: 1,
Expand Down
1 change: 1 addition & 0 deletions screens/return-screens/ReturnQRScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ const styles = StyleSheet.create({
alignItems: "center",
paddingVertical: 20,
alignSelf: "center",
marginTop: 20,
},
text: {
fontSize: 18,
Expand Down
3 changes: 2 additions & 1 deletion screens/settings-screens/BorrowTutorial.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,12 @@ const styles = StyleSheet.create({
borderWidth: 2,
borderColor: "black",
borderRadius: 20,
height: 550,
// height: 550,
width: "80%",
margin: 10,
alignSelf: "center",
justifyContent: "center",
flexGrow: 1,
},
image: {
aspectRatio: 9 / 16,
Expand Down
3 changes: 2 additions & 1 deletion screens/settings-screens/ReturnTutorial.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,12 @@ const styles = StyleSheet.create({
borderWidth: 2,
borderColor: "black",
borderRadius: 20,
height: 580,
// height: 580,
width: "80%",
margin: 10,
alignSelf: "center",
justifyContent: "center",
flexGrow: 1,
},
image: {
aspectRatio: 9 / 16,
Expand Down

0 comments on commit 373cea9

Please sign in to comment.