Skip to content

Commit

Permalink
fix: local labels are cutting (#169)
Browse files Browse the repository at this point in the history
closes #162

Co-authored-by: ejbills <74191134+ejbills@users.noreply.github.com>
  • Loading branch information
ShlomoCode and ejbills authored Jul 12, 2024
1 parent 7588353 commit d371a3e
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 17 deletions.
2 changes: 1 addition & 1 deletion DockDoor/Views/Settings/AppearanceSettingsView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ struct AppearanceSettingsView: View {
.scaledToFit()
}
.padding(20)
.frame(minWidth: 600)
.frame(minWidth: 650)
}
}

Expand Down
19 changes: 6 additions & 13 deletions DockDoor/Views/Settings/MainSettingsView.swift
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
//
// MainSettingsView.swift
// DockDoor
//
// Created by Ethan Bills on 6/13/24.
//

import SwiftUI
import Defaults
import LaunchAtLogin
Expand Down Expand Up @@ -58,8 +51,8 @@ struct MainSettingsView: View {
Spacer()
Slider(value: $hoverWindowOpenDelay, in: 0...2, step: 0.1)
TextField("", value: $hoverWindowOpenDelay, formatter: decimalFormatter)
.frame(width: 40)
.textFieldStyle(RoundedBorderTextFieldStyle())
.frame(width: 40)
.textFieldStyle(RoundedBorderTextFieldStyle())
Text("seconds")
}

Expand All @@ -69,8 +62,8 @@ struct MainSettingsView: View {
Spacer()
Slider(value: $screenCaptureCacheLifespan, in: 0...60, step: 5)
TextField("", value: $screenCaptureCacheLifespan, formatter: NumberFormatter())
.frame(width: 35)
.textFieldStyle(RoundedBorderTextFieldStyle())
.frame(width: 35)
.textFieldStyle(RoundedBorderTextFieldStyle())
Text("seconds")
}

Expand All @@ -90,6 +83,6 @@ struct MainSettingsView: View {
}
}
.padding(20)
.frame(minWidth: 600)
.frame(minWidth: 650)
}
}
}
2 changes: 1 addition & 1 deletion DockDoor/Views/Settings/PermissionsSettingsView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ struct PermissionsSettingsView: View {
Spacer()
}
.padding([.top, .leading, .trailing], 20)
.frame(minWidth: 600)
.frame(minWidth: 650)
}

private func openAccessibilityPreferences() {
Expand Down
3 changes: 2 additions & 1 deletion DockDoor/Views/Settings/UpdateSettingsView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ struct UpdateSettingsView: View {
}

}
.frame(width: 600).padding(10)
.padding(10)
.frame(width: 650)
}

private var updateStatusView: some View {
Expand Down
2 changes: 1 addition & 1 deletion DockDoor/Views/Settings/WindowSwitcherSettingsView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ struct WindowSwitcherSettingsView: View {
}
}
.padding(20)
.frame(minWidth: 600)
.frame(minWidth: 650)
}
}

Expand Down

0 comments on commit d371a3e

Please sign in to comment.