Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
enzevalos_iphone
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
enzevalos
enzevalos_iphone
Commits
7070fa7e
Commit
7070fa7e
authored
4 years ago
by
hannes
Browse files
Options
Downloads
Patches
Plain Diff
less lost space?
parent
9c0dbd66
No related branches found
No related tags found
1 merge request
!62
Draft: Thesis hannes v2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
enzevalos_iphone/SwiftUI/Inbox/Thesis Inbox/Helpers/UI/CategoryViewInner.swift
+6
-5
6 additions, 5 deletions
...tUI/Inbox/Thesis Inbox/Helpers/UI/CategoryViewInner.swift
with
6 additions
and
5 deletions
enzevalos_iphone/SwiftUI/Inbox/Thesis Inbox/Helpers/UI/CategoryViewInner.swift
+
6
−
5
View file @
7070fa7e
...
...
@@ -33,7 +33,7 @@ struct CategoryViewInner<Content:View>: View {
onOpen
:
{
category
.
isActive
.
toggle
()}
){
content
()
}
.
padding
()
}
.
padding
(
.
horizontal
,
15
)
.
padding
(
.
top
,
10
)
}
}
...
...
@@ -65,7 +65,7 @@ struct CategoryCardAlike<Content: View> : View {
var
body
:
some
View
{
isResizable
?
AnyView
(
DragResizableCard
(
height
:
size
){
inner
.
padding
(
.
bottom
,
5
)}
DragResizableCard
(
shadowElevation
:
15
,
height
:
size
){
inner
.
padding
(
.
bottom
,
5
)}
):
AnyView
(
Card
(){
inner
}
)
...
...
@@ -74,8 +74,9 @@ struct CategoryCardAlike<Content: View> : View {
private
var
inner
:
some
View
{
VStack
{
header
.
padding
(
.
horizontal
,
1
0
)
.
padding
(
.
top
,
7
)
header
.
padding
(
.
horizontal
,
1
7
)
.
padding
(
.
vertical
,
2
)
Divider
()
.
frame
(
height
:
2
)
content
()
.
frame
(
height
:
_size
)
//.clipped()
...
...
@@ -87,8 +88,8 @@ struct CategoryCardAlike<Content: View> : View {
private
var
header
:
some
View
{
HStack
{
icon
.
sizeTo
(
3
5
)
.
padding
(
.
trailing
,
8
)
.
sizeTo
(
3
0
)
.
padding
(
.
trailing
,
5
)
Text
(
headline
)
.
font
(
.
title2
)
Spacer
()
Text
(
timestmp
?
.
timeAgoText
()
??
""
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment