aboutsummaryrefslogtreecommitdiff
path: root/src/client/documents/DocUtils.ts
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2025-02-24 18:07:36 -0500
committerbobzel <zzzman@gmail.com>2025-02-24 18:07:36 -0500
commit1c7c5bcadc7081e1a7e582413eee37b8201e1c4c (patch)
tree1b6e97124964558534e906eee045b0cca334935b /src/client/documents/DocUtils.ts
parent383a8a2f017c12c578537d3cb3005e00be019bd7 (diff)
added borders (width, color, and style) for DocumentViews. fixed dropdown slider buttons to show text labels.
Diffstat (limited to 'src/client/documents/DocUtils.ts')
-rw-r--r--src/client/documents/DocUtils.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client/documents/DocUtils.ts b/src/client/documents/DocUtils.ts
index 23032b62e..f1de6fe36 100644
--- a/src/client/documents/DocUtils.ts
+++ b/src/client/documents/DocUtils.ts
@@ -692,6 +692,8 @@ export namespace DocUtils {
//
annotationOn,
backgroundColor: backgroundColor ?? StrCast(Doc.UserDoc().textBackgroundColor),
+ borderColor: Doc.UserDoc().borderColor as string,
+ borderWidth: Doc.UserDoc().borderWidth as number,
x,
y,
title,
@@ -718,6 +720,8 @@ export namespace DocUtils {
_layout_fitWidth: true,
_layout_autoHeight: true,
backgroundColor: StrCast(Doc.UserDoc().textBackgroundColor),
+ borderColor: Doc.UserDoc().borderColor as string,
+ borderWidth: Doc.UserDoc().borderWidth as number,
text_fitBox: BoolCast(Doc.UserDoc().fitBox),
text_align: StrCast(Doc.UserDoc().textAlign),
text_fontColor: StrCast(Doc.UserDoc().fontColor),