diff options
author | bobzel <zzzman@gmail.com> | 2025-02-24 18:07:36 -0500 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2025-02-24 18:07:36 -0500 |
commit | 1c7c5bcadc7081e1a7e582413eee37b8201e1c4c (patch) | |
tree | 1b6e97124964558534e906eee045b0cca334935b /src/client/views/nodes/formattedText/FormattedTextBox.tsx | |
parent | 383a8a2f017c12c578537d3cb3005e00be019bd7 (diff) |
added borders (width, color, and style) for DocumentViews. fixed dropdown slider buttons to show text labels.
Diffstat (limited to 'src/client/views/nodes/formattedText/FormattedTextBox.tsx')
-rw-r--r-- | src/client/views/nodes/formattedText/FormattedTextBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/formattedText/FormattedTextBox.tsx b/src/client/views/nodes/formattedText/FormattedTextBox.tsx index 3abb39ff2..da2131940 100644 --- a/src/client/views/nodes/formattedText/FormattedTextBox.tsx +++ b/src/client/views/nodes/formattedText/FormattedTextBox.tsx @@ -1282,7 +1282,7 @@ export class FormattedTextBox extends ViewBoxAnnotatableComponent<FormattedTextB ); this._disposers.componentHeights = reaction( // set the document height when one of the component heights changes and layout_autoHeight is on - () => ({ sidebarHeight: this.sidebarHeight, textHeight: this.textHeight, layoutAutoHeight: this.layout_autoHeight, marginsHeight: this.layout_autoHeightMargins }), + () => ({ border: this._props.PanelHeight(), sidebarHeight: this.sidebarHeight, textHeight: this.textHeight, layoutAutoHeight: this.layout_autoHeight, marginsHeight: this.layout_autoHeightMargins }), ({ sidebarHeight, textHeight, layoutAutoHeight, marginsHeight }) => { const newHeight = this.contentScaling * (marginsHeight + Math.max(sidebarHeight, textHeight)); if ( |