Skip to content

Commit

Permalink
Merge pull request #878 from WolframResearch/bugfix/fix-vertical-alig…
Browse files Browse the repository at this point in the history
…nment-of-input-field

Bugfix: Fix vertical alignment for chat input field
  • Loading branch information
rhennigan authored Nov 1, 2024
2 parents 8e68bdb + c5a7bd0 commit 821cab9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Source/Chatbook/ChatModes/UI.wl
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,18 @@ $messageAuthorImagePadding = { { 0, 0 }, { 0, 6 } };
$toolbarLabelStyle = "WorkspaceChatToolbarButtonLabel";

$inputFieldOptions = Sequence[
Alignment -> { Automatic, Baseline },
BoxID -> "AttachedChatInputField",
ImageSize -> { Scaled[ 1 ], { 25, Automatic } },
ImageSize -> { Scaled[ 1 ], Automatic },
FieldHint -> tr[ "AttachedChatFieldHint" ],
BaseStyle -> { "Text" },
Appearance -> "Frameless"
];

$inputFieldFrameOptions = Sequence[
Alignment -> { Automatic, Baseline },
Background -> White,
FrameMargins -> { { 5, 5 }, { 2, 2 } },
FrameMargins -> { { 5, 5 }, { 4, 4 } },
FrameStyle -> Directive[ AbsoluteThickness[ 2 ], RGBColor[ "#a3c9f2" ] ]
];

Expand Down

0 comments on commit 821cab9

Please sign in to comment.