Skip to content

Commit 25dba8b

Browse files
committed
set size of window and inspector for new icon
1 parent d41a3d3 commit 25dba8b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Demo/Demo/DemoEditorScreen.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ struct DemoEditorScreen: View {
4242
.inspector(isPresented: $isInspectorPresented) {
4343
RichTextFormat.Sidebar(context: context)
4444
#if os(macOS)
45-
.inspectorColumnWidth(min: 200, ideal: 200, max: 315)
45+
.inspectorColumnWidth(min: 280, ideal: 350, max: 400)
4646
#endif
4747
}
4848
.toolbar {

Sources/RichTextKit/Format/RichTextFormat+Toolbar.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public extension RichTextFormat {
6868
.environment(\.sizeCategory, .medium)
6969
.background(background)
7070
#if macOS
71-
.frame(minWidth: 650)
71+
.frame(minWidth: 750)
7272
#endif
7373
}
7474
}

0 commit comments

Comments
 (0)