diff --git a/Assets/DisplayFunctions.wxf b/Assets/DisplayFunctions.wxf index 7136a600..4b70eb6e 100644 Binary files a/Assets/DisplayFunctions.wxf and b/Assets/DisplayFunctions.wxf differ diff --git a/Developer/Resources/Icons/WorkspaceToolbarIconSources.wl b/Developer/Resources/Icons/WorkspaceToolbarIconSources.wl index 4e7b50ce..d26d9225 100644 --- a/Developer/Resources/Icons/WorkspaceToolbarIconSources.wl +++ b/Developer/Resources/Icons/WorkspaceToolbarIconSources.wl @@ -1,186 +1,20 @@ -Graphics[ - { - Thickness[ 0.014493 ], - Style[ - { - FilledCurve[ - { - { { 0, 2, 0 }, { 0, 1, 0 }, { 0, 1, 0 }, { 0, 1, 0 }, { 1, 3, 3 }, { 0, 1, 0 }, { 0, 1, 0 } }, - { { 0, 2, 0 }, { 0, 1, 0 }, { 1, 3, 3 }, { 0, 1, 0 } }, - { - { 0, 2, 0 }, - { 1, 3, 3 }, - { 1, 3, 3 }, - { 0, 1, 0 }, - { 1, 3, 3 }, - { 0, 1, 0 }, - { 1, 3, 3 }, - { 0, 1, 0 }, - { 1, 3, 3 }, - { 0, 1, 0 }, - { 1, 3, 3 }, - { 1, 3, 3 } - } - }, - { - { - { 15.0, 5.0 }, - { 7.0, 5.0 }, - { 7.0, 15.0 }, - { 11.0, 15.0 }, - { 11.0, 12.5 }, - { 11.0, 11.673 }, - { 11.673, 11.0 }, - { 12.5, 11.0 }, - { 15.0, 11.0 }, - { 15.0, 5.0 } - }, - { { 12.0, 14.293 }, { 14.293, 12.0 }, { 12.5, 12.0 }, { 12.225, 12.0 }, { 12.0, 12.224 }, { 12.0, 12.5 }, { 12.0, 14.293 } }, - { - { 15.853, 11.854 }, - { 11.854, 15.853 }, - { 11.808, 15.899 }, - { 11.752, 15.936 }, - { 11.691, 15.961 }, - { 11.63, 15.987 }, - { 11.565, 16.0 }, - { 11.5, 16.0 }, - { 7.0, 16.0 }, - { 6.448, 16.0 }, - { 6.0, 15.551 }, - { 6.0, 15.0 }, - { 6.0, 5.0 }, - { 6.0, 4.449 }, - { 6.448, 4.0 }, - { 7.0, 4.0 }, - { 15.0, 4.0 }, - { 15.552, 4.0 }, - { 16.0, 4.449 }, - { 16.0, 5.0 }, - { 16.0, 11.5 }, - { 16.0, 11.565 }, - { 15.987, 11.63 }, - { 15.961, 11.691 }, - { 15.936, 11.752 }, - { 15.899, 11.808 }, - { 15.853, 11.854 } - } - } - ] - }, - FaceForm @ RGBColor[ 1.0, 1.0, 1.0, 1.0 ] - ], - Style[ - { - FilledCurve[ - { - { - { 0, 2, 0 }, - { 0, 1, 0 }, - { 0, 1, 0 }, - { 0, 1, 0 }, - { 0, 1, 0 }, - { 0, 1, 0 }, - { 0, 1, 0 }, - { 0, 1, 0 }, - { 0, 1, 0 }, - { 0, 1, 0 }, - { 0, 1, 0 }, - { 0, 1, 0 } - } - }, - { - { - { 16.0, 9.0 }, - { 16.0, 12.0 }, - { 14.0, 12.0 }, - { 14.0, 9.0 }, - { 11.0, 9.0 }, - { 11.0, 7.0 }, - { 14.0, 7.0 }, - { 14.0, 4.0 }, - { 16.0, 4.0 }, - { 16.0, 7.0 }, - { 19.0, 7.0 }, - { 19.0, 9.0 }, - { 16.0, 9.0 } - } - } - ] - }, - FaceForm @ RGBColor[ 1.0, 1.0, 1.0, 1.0 ] - ], - Style[ - { - FilledCurve[ - { - { - { 0, 2, 0 }, - { 0, 1, 0 }, - { 0, 1, 0 }, - { 0, 1, 0 }, - { 0, 1, 0 }, - { 0, 1, 0 }, - { 0, 1, 0 }, - { 0, 1, 0 }, - { 0, 1, 0 }, - { 0, 1, 0 }, - { 0, 1, 0 }, - { 0, 1, 0 } - }, - { - { 0, 2, 0 }, - { 0, 1, 0 }, - { 0, 1, 0 }, - { 0, 1, 0 }, - { 0, 1, 0 }, - { 0, 1, 0 }, - { 0, 1, 0 }, - { 0, 1, 0 }, - { 0, 1, 0 }, - { 0, 1, 0 }, - { 0, 1, 0 }, - { 0, 1, 0 } - } - }, - { - { - { 16.0, 9.0 }, - { 19.0, 9.0 }, - { 19.0, 7.0 }, - { 16.0, 7.0 }, - { 16.0, 4.0 }, - { 14.0, 4.0 }, - { 14.0, 7.0 }, - { 11.0, 7.0 }, - { 11.0, 9.0 }, - { 14.0, 9.0 }, - { 14.0, 12.0 }, - { 16.0, 12.0 }, - { 16.0, 9.0 } - }, - { - { 13.0, 10.0 }, - { 13.0, 13.0 }, - { 17.0, 13.0 }, - { 17.0, 10.0 }, - { 20.0, 10.0 }, - { 20.0, 6.0 }, - { 17.0, 6.0 }, - { 17.0, 3.0 }, - { 13.0, 3.0 }, - { 13.0, 6.0 }, - { 10.0, 6.0 }, - { 10.0, 10.0 }, - { 13.0, 10.0 } - } - } - ] - }, - FaceForm @ RGBColor[ 0.4, 0.67843, 0.82353, 1.0 ] - ] - }, - ImageSize -> { 20.0, 20.0 }, - PlotRange -> { { 0.0, 20.0 }, { 0.0, 20.0 } }, - AspectRatio -> Automatic -] \ No newline at end of file +Graphics[{Thickness[0.07692307692307693], + FaceForm[{RGBColor[1.0,1.0,1.0], Opacity[1.]}], + FilledCurve[{{{0, 2, 0}, {0, 1, 0}, {0, 1, 0}, {0, 1, 0}, {1, 3, 3}, {0, 1, 0}, + {0, 1, 0}, {0, 1, 0}, {1, 3, 3}, {0, 1, 0}, {0, 1, 0}, {0, 1, 0}, {0, 1, 0}, + {0, 1, 0}, {1, 3, 3}, {1, 3, 3}, {0, 1, 0}, {1, 3, 3}, {0, 1, 0}, {1, 3, 3}, + {0, 1, 0}, {0, 1, 0}}, {{0, 2, 0}, {0, 1, 0}, {0, 1, 0}, {0, 1, 0}, {0, 1, 0}, + {0, 1, 0}, {0, 1, 0}, {0, 1, 0}, {0, 1, 0}, {0, 1, 0}, {0, 1, 0}, {0, 1, 0}}}, + {{{7., 1.}, {1., 1.}, {1., 11.}, {5., 11.}, {5., 8.5}, {5., 7.672999858856201}, + {5.67300009727478, 7.}, {6.5, 7.}, {7., 7.}, {7., 8.}, {6.5, 8.}, + {6.225000023841858, 8.}, {6., 8.223999977111816}, {6., 8.5}, + {6., 10.293000221252441}, {7.292999982833862, 9.}, {8., 9.}, + {8.707000017166138, 9.}, {5.853999972343445, 11.85300064086914}, + {5.807999968528748, 11.89900016784668}, {5.7519999742507935, 11.935998916625977}, + {5.6910001039505005, 11.961000442504883}, {5.629999995231628, 11.98699951171875}, + {5.565000057220459, 12.}, {5.5, 12.}, {1., 12.}, {0.4479999542236328, 12.}, + {0., 11.551000595092773}, {0., 11.}, {0., 1.}, {0., 0.4490000009536743}, + {0.4479999542236328, 0.}, {1., 0.}, {7., 0.}, {7., 1.}}, + {{13., 5.}, {13., 3.}, {10., 3.}, {10., 0.}, {8., 0.}, {8., 3.}, {5., 3.}, + {5., 5.}, {8., 5.}, {8., 8.}, {10., 8.}, {10., 5.}, {13., 5.}}}]}, + AspectRatio -> Automatic, ImageSize -> {20, 20}, PlotRange -> {{-6, 14}, {-4, 16}}] diff --git a/Developer/Resources/WorkspaceStyles.wl b/Developer/Resources/WorkspaceStyles.wl index 07d89e7b..453fceed 100644 --- a/Developer/Resources/WorkspaceStyles.wl +++ b/Developer/Resources/WorkspaceStyles.wl @@ -160,6 +160,28 @@ Cell[ (* ::Section::Closed:: *) (*Template Boxes*) +(* ::**************************************************************************************************************:: *) +(* ::Subsection::Closed:: *) +(*UserMessageBox - one minor style tweaks compared to definition in Chatbook.nb *) +Cell[ + StyleData[ "UserMessageBox" ], + TemplateBoxOptions -> { + DisplayFunction -> Function @ Evaluate @ PaneBox[ + FrameBox[ + #, + BaseStyle -> { "Text", Editable -> False, Selectable -> False }, + Background -> RGBColor[ "#edf4fc" ], + FrameMargins -> { { 8, 15 }, { 8, 8 } }, + FrameStyle -> RGBColor[ "#a3c9f2" ], + RoundingRadius -> 8, (* tweaked *) + StripOnInput -> False + ], + Alignment -> Right, + ImageSize -> { Full, Automatic } + ] + } +] + (* ::**************************************************************************************************************:: *) (* ::Subsection::Closed:: *) (*AssistantMessageBox - only a few minor style tweaks compared to definition in Chatbook.nb *) diff --git a/FrontEnd/Assets/Extensions/CoreExtensions.nb b/FrontEnd/Assets/Extensions/CoreExtensions.nb index 9205c38d..2096b24b 100644 --- a/FrontEnd/Assets/Extensions/CoreExtensions.nb +++ b/FrontEnd/Assets/Extensions/CoreExtensions.nb @@ -11,7 +11,7 @@ Notebook[ Cell["Chatbook Core.nb Extensions", "Title"], Cell[ StyleData["ChatStyleSheetInformation"], - TaggingRules -> <|"StyleSheetVersion" -> "1.5.2.3940148324"|> + TaggingRules -> <|"StyleSheetVersion" -> "1.5.2.3940315197"|> ], Cell[ StyleData["NotebookAssistant`Text"], @@ -13215,153 +13215,74 @@ Notebook[ (Function[ GraphicsBox[ { - Thickness[0.014493], - StyleBox[ - { - FilledCurveBox[ - { - { - {0, 2, 0}, - {0, 1, 0}, - {0, 1, 0}, - {0, 1, 0}, - {1, 3, 3}, - {0, 1, 0}, - {0, 1, 0} - }, - {{0, 2, 0}, {0, 1, 0}, {1, 3, 3}, {0, 1, 0}}, - { - {0, 2, 0}, - {1, 3, 3}, - {1, 3, 3}, - {0, 1, 0}, - {1, 3, 3}, - {0, 1, 0}, - {1, 3, 3}, - {0, 1, 0}, - {1, 3, 3}, - {0, 1, 0}, - {1, 3, 3}, - {1, 3, 3} - } - }, - { - { - {15.0, 5.0}, - {7.0, 5.0}, - {7.0, 15.0}, - {11.0, 15.0}, - {11.0, 12.5}, - {11.0, 11.673}, - {11.673, 11.0}, - {12.5, 11.0}, - {15.0, 11.0}, - {15.0, 5.0} - }, - { - {12.0, 14.293}, - {14.293, 12.0}, - {12.5, 12.0}, - {12.225, 12.0}, - {12.0, 12.224}, - {12.0, 12.5}, - {12.0, 14.293} - }, - CompressedData[ - "\n1:eJxTTMoPSmViYGCQBmIQfftnXdaeLfoOGRPf1thvVYfTMHGWMD7dTXPVHexN\n43Z5ntF3kNa/q8LWqO6wRiYqxfq+vkO+UPOBU4nqDpUv1Qw53ug7HP6qEdPv\npO5w2TdJIOKnvsPDKpF17orqDgxgYACl0fkycP6MPJCBkmjyEg7qhhxrZKT0\n4XwIrYfGF4HzN819v/zYaUE08wTQ7IPx9eD8LSfK9s2H2wOTN4Cbh+ouETQ+\nwl8wf8PCARYusHCChRssHGHhCgtnWLijxw8A7jBvnA==\n " - ] - } - ] - }, - {FaceForm[RGBColor[1.0, 1.0, 1.0, 1.0]]}, - StripOnInput -> False - ], - StyleBox[ + Thickness[0.0769231], + FaceForm[{RGBColor[1.0, 1.0, 1.0], Opacity[1.0]}], + FilledCurveBox[ { - FilledCurveBox[ - { - { - {0, 2, 0}, - {0, 1, 0}, - {0, 1, 0}, - {0, 1, 0}, - {0, 1, 0}, - {0, 1, 0}, - {0, 1, 0}, - {0, 1, 0}, - {0, 1, 0}, - {0, 1, 0}, - {0, 1, 0}, - {0, 1, 0} - } - }, - { - { - {16.0, 9.0}, - {16.0, 12.0}, - {14.0, 12.0}, - {14.0, 9.0}, - {11.0, 9.0}, - {11.0, 7.0}, - {14.0, 7.0}, - {14.0, 4.0}, - {16.0, 4.0}, - {16.0, 7.0}, - {19.0, 7.0}, - {19.0, 9.0}, - {16.0, 9.0} - } - } - ] + { + {0, 2, 0}, + {0, 1, 0}, + {0, 1, 0}, + {0, 1, 0}, + {1, 3, 3}, + {0, 1, 0}, + {0, 1, 0}, + {0, 1, 0}, + {1, 3, 3}, + {0, 1, 0}, + {0, 1, 0}, + {0, 1, 0}, + {0, 1, 0}, + {0, 1, 0}, + {1, 3, 3}, + {1, 3, 3}, + {0, 1, 0}, + {1, 3, 3}, + {0, 1, 0}, + {1, 3, 3}, + {0, 1, 0}, + {0, 1, 0} + }, + { + {0, 2, 0}, + {0, 1, 0}, + {0, 1, 0}, + {0, 1, 0}, + {0, 1, 0}, + {0, 1, 0}, + {0, 1, 0}, + {0, 1, 0}, + {0, 1, 0}, + {0, 1, 0}, + {0, 1, 0}, + {0, 1, 0} + } }, - {FaceForm[RGBColor[1.0, 1.0, 1.0, 1.0]]}, - StripOnInput -> False - ], - StyleBox[ { - FilledCurveBox[ - { - { - {0, 2, 0}, - {0, 1, 0}, - {0, 1, 0}, - {0, 1, 0}, - {0, 1, 0}, - {0, 1, 0}, - {0, 1, 0}, - {0, 1, 0}, - {0, 1, 0}, - {0, 1, 0}, - {0, 1, 0}, - {0, 1, 0} - }, - { - {0, 2, 0}, - {0, 1, 0}, - {0, 1, 0}, - {0, 1, 0}, - {0, 1, 0}, - {0, 1, 0}, - {0, 1, 0}, - {0, 1, 0}, - {0, 1, 0}, - {0, 1, 0}, - {0, 1, 0}, - {0, 1, 0} - } - }, - CompressedData[ - "\n1:eJxTTMoPSmVmYGBgAmJeKA0BBg4QWglKG+PgyzigqkfnC0BpHRx8mHo1HHwl\nNPXofA00+9D5MPVaUFoFjQ+jDXHwYepNcPAl0NSj8znQzEXnw9Sr4OCju1fF\nAQCgQRZY\n " - ] - ] - }, - {FaceForm[RGBColor[0.4, 0.67843, 0.82353, 1.0]]}, - StripOnInput -> False + CompressedData[ + "\n1:eJxTTMoPSmViYGBQBmIQDQEyDhD6gz1+Wg2qTsQBO18Rmf9AbaMciP6gtlHM\nAdUeKTQ+LloBTT2Yn5H2TAJNHsxX2FCEwkdyD0SeZZoKiDbg0JGFiiuhmQPm\nv/idqYjM/1GXJQ6iG/ZsUQfRESnWYP4BzzNgvgcPE5jvYH0fzO+YehjsXweO\nN2D+DrlWiP8jfoL5Cf1OsPDQgNLofFh4Q/gca+7Yo8qDwQEZKXVkPgMiPmAA\nZg4YNGTtgZiDMA+rOgZE+KPzP9gDADwyPuA=\n " + ], + { + {13.0, 5.0}, + {13.0, 3.0}, + {10.0, 3.0}, + {10.0, 0.0}, + {8.0, 0.0}, + {8.0, 3.0}, + {5.0, 3.0}, + {5.0, 5.0}, + {8.0, 5.0}, + {8.0, 8.0}, + {10.0, 8.0}, + {10.0, 5.0}, + {13.0, 5.0} + } + } ] }, - ImageSize -> {20.0, 20.0}, - PlotRange -> {{0.0, 20.0}, {0.0, 20.0}}, - AspectRatio -> Automatic + AspectRatio -> Automatic, + ImageSize -> {20, 20}, + PlotRange -> {{-6, 14}, {-4, 16}} ] ]) } diff --git a/FrontEnd/StyleSheets/Chatbook.nb b/FrontEnd/StyleSheets/Chatbook.nb index a5dcc8ed..5ac58663 100644 --- a/FrontEnd/StyleSheets/Chatbook.nb +++ b/FrontEnd/StyleSheets/Chatbook.nb @@ -828,7 +828,7 @@ Notebook[ ], Cell[ StyleData["ChatStyleSheetInformation"], - TaggingRules -> <|"StyleSheetVersion" -> "1.5.2.3940148324"|> + TaggingRules -> <|"StyleSheetVersion" -> "1.5.2.3940315197"|> ], Cell[ StyleData["Text"], @@ -14121,153 +14121,74 @@ Notebook[ (Function[ GraphicsBox[ { - Thickness[0.014493], - StyleBox[ - { - FilledCurveBox[ - { - { - {0, 2, 0}, - {0, 1, 0}, - {0, 1, 0}, - {0, 1, 0}, - {1, 3, 3}, - {0, 1, 0}, - {0, 1, 0} - }, - {{0, 2, 0}, {0, 1, 0}, {1, 3, 3}, {0, 1, 0}}, - { - {0, 2, 0}, - {1, 3, 3}, - {1, 3, 3}, - {0, 1, 0}, - {1, 3, 3}, - {0, 1, 0}, - {1, 3, 3}, - {0, 1, 0}, - {1, 3, 3}, - {0, 1, 0}, - {1, 3, 3}, - {1, 3, 3} - } - }, - { - { - {15.0, 5.0}, - {7.0, 5.0}, - {7.0, 15.0}, - {11.0, 15.0}, - {11.0, 12.5}, - {11.0, 11.673}, - {11.673, 11.0}, - {12.5, 11.0}, - {15.0, 11.0}, - {15.0, 5.0} - }, - { - {12.0, 14.293}, - {14.293, 12.0}, - {12.5, 12.0}, - {12.225, 12.0}, - {12.0, 12.224}, - {12.0, 12.5}, - {12.0, 14.293} - }, - CompressedData[ - "\n1:eJxTTMoPSmViYGCQBmIQfftnXdaeLfoOGRPf1thvVYfTMHGWMD7dTXPVHexN\n43Z5ntF3kNa/q8LWqO6wRiYqxfq+vkO+UPOBU4nqDpUv1Qw53ug7HP6qEdPv\npO5w2TdJIOKnvsPDKpF17orqDgxgYACl0fkycP6MPJCBkmjyEg7qhhxrZKT0\n4XwIrYfGF4HzN819v/zYaUE08wTQ7IPx9eD8LSfK9s2H2wOTN4Cbh+ouETQ+\nwl8wf8PCARYusHCChRssHGHhCgtnWLijxw8A7jBvnA==\n " - ] - } - ] - }, - {FaceForm[RGBColor[1.0, 1.0, 1.0, 1.0]]}, - StripOnInput -> False - ], - StyleBox[ + Thickness[0.0769231], + FaceForm[{RGBColor[1.0, 1.0, 1.0], Opacity[1.0]}], + FilledCurveBox[ { - FilledCurveBox[ - { - { - {0, 2, 0}, - {0, 1, 0}, - {0, 1, 0}, - {0, 1, 0}, - {0, 1, 0}, - {0, 1, 0}, - {0, 1, 0}, - {0, 1, 0}, - {0, 1, 0}, - {0, 1, 0}, - {0, 1, 0}, - {0, 1, 0} - } - }, - { - { - {16.0, 9.0}, - {16.0, 12.0}, - {14.0, 12.0}, - {14.0, 9.0}, - {11.0, 9.0}, - {11.0, 7.0}, - {14.0, 7.0}, - {14.0, 4.0}, - {16.0, 4.0}, - {16.0, 7.0}, - {19.0, 7.0}, - {19.0, 9.0}, - {16.0, 9.0} - } - } - ] + { + {0, 2, 0}, + {0, 1, 0}, + {0, 1, 0}, + {0, 1, 0}, + {1, 3, 3}, + {0, 1, 0}, + {0, 1, 0}, + {0, 1, 0}, + {1, 3, 3}, + {0, 1, 0}, + {0, 1, 0}, + {0, 1, 0}, + {0, 1, 0}, + {0, 1, 0}, + {1, 3, 3}, + {1, 3, 3}, + {0, 1, 0}, + {1, 3, 3}, + {0, 1, 0}, + {1, 3, 3}, + {0, 1, 0}, + {0, 1, 0} + }, + { + {0, 2, 0}, + {0, 1, 0}, + {0, 1, 0}, + {0, 1, 0}, + {0, 1, 0}, + {0, 1, 0}, + {0, 1, 0}, + {0, 1, 0}, + {0, 1, 0}, + {0, 1, 0}, + {0, 1, 0}, + {0, 1, 0} + } }, - {FaceForm[RGBColor[1.0, 1.0, 1.0, 1.0]]}, - StripOnInput -> False - ], - StyleBox[ { - FilledCurveBox[ - { - { - {0, 2, 0}, - {0, 1, 0}, - {0, 1, 0}, - {0, 1, 0}, - {0, 1, 0}, - {0, 1, 0}, - {0, 1, 0}, - {0, 1, 0}, - {0, 1, 0}, - {0, 1, 0}, - {0, 1, 0}, - {0, 1, 0} - }, - { - {0, 2, 0}, - {0, 1, 0}, - {0, 1, 0}, - {0, 1, 0}, - {0, 1, 0}, - {0, 1, 0}, - {0, 1, 0}, - {0, 1, 0}, - {0, 1, 0}, - {0, 1, 0}, - {0, 1, 0}, - {0, 1, 0} - } - }, - CompressedData[ - "\n1:eJxTTMoPSmVmYGBgAmJeKA0BBg4QWglKG+PgyzigqkfnC0BpHRx8mHo1HHwl\nNPXofA00+9D5MPVaUFoFjQ+jDXHwYepNcPAl0NSj8znQzEXnw9Sr4OCju1fF\nAQCgQRZY\n " - ] - ] - }, - {FaceForm[RGBColor[0.4, 0.67843, 0.82353, 1.0]]}, - StripOnInput -> False + CompressedData[ + "\n1:eJxTTMoPSmViYGBQBmIQDQEyDhD6gz1+Wg2qTsQBO18Rmf9AbaMciP6gtlHM\nAdUeKTQ+LloBTT2Yn5H2TAJNHsxX2FCEwkdyD0SeZZoKiDbg0JGFiiuhmQPm\nv/idqYjM/1GXJQ6iG/ZsUQfRESnWYP4BzzNgvgcPE5jvYH0fzO+YehjsXweO\nN2D+DrlWiP8jfoL5Cf1OsPDQgNLofFh4Q/gca+7Yo8qDwQEZKXVkPgMiPmAA\nZg4YNGTtgZiDMA+rOgZE+KPzP9gDADwyPuA=\n " + ], + { + {13.0, 5.0}, + {13.0, 3.0}, + {10.0, 3.0}, + {10.0, 0.0}, + {8.0, 0.0}, + {8.0, 3.0}, + {5.0, 3.0}, + {5.0, 5.0}, + {8.0, 5.0}, + {8.0, 8.0}, + {10.0, 8.0}, + {10.0, 5.0}, + {13.0, 5.0} + } + } ] }, - ImageSize -> {20.0, 20.0}, - PlotRange -> {{0.0, 20.0}, {0.0, 20.0}}, - AspectRatio -> Automatic + AspectRatio -> Automatic, + ImageSize -> {20, 20}, + PlotRange -> {{-6, 14}, {-4, 16}} ] ]) } diff --git a/FrontEnd/StyleSheets/Wolfram/WorkspaceChat.nb b/FrontEnd/StyleSheets/Wolfram/WorkspaceChat.nb index 00f2b518..a950f152 100644 --- a/FrontEnd/StyleSheets/Wolfram/WorkspaceChat.nb +++ b/FrontEnd/StyleSheets/Wolfram/WorkspaceChat.nb @@ -74,7 +74,7 @@ Notebook[ ], Cell[ StyleData["WorkspaceChatStyleSheetInformation"], - TaggingRules -> <|"WorkspaceChatStyleSheetVersion" -> "1.5.2.3940148324"|> + TaggingRules -> <|"WorkspaceChatStyleSheetVersion" -> "1.5.2.3940315197"|> ], Cell[ StyleData[ @@ -186,6 +186,27 @@ Notebook[ TaggingRules -> <|"ChatNotebookSettings" -> <|"ExcludeFromChat" -> True|>|>, ShowStringCharacters -> False ], + Cell[ + StyleData["UserMessageBox"], + TemplateBoxOptions -> { + DisplayFunction -> + (Function[ + PaneBox[ + FrameBox[ + #1, + BaseStyle -> {"Text", Editable -> False, Selectable -> False}, + Background -> RGBColor[0.929412, 0.956863, 0.988235], + FrameMargins -> {{8, 15}, {8, 8}}, + FrameStyle -> RGBColor[0.639216, 0.788235, 0.94902], + RoundingRadius -> 8, + StripOnInput -> False + ], + Alignment -> Right, + ImageSize -> {Full, Automatic} + ] + ]) + } + ], Cell[ StyleData["AssistantMessageBox"], TemplateBoxOptions -> { diff --git a/Source/Chatbook/ChatModes/UI.wl b/Source/Chatbook/ChatModes/UI.wl index 34910275..997dcb26 100644 --- a/Source/Chatbook/ChatModes/UI.wl +++ b/Source/Chatbook/ChatModes/UI.wl @@ -233,7 +233,7 @@ toolbarButtonLabel0[ iconName_String, label_, {styleopts___}, {gridopts___}] := toolbarButtonLabel0 // endDefinition; $toolbarButtonCommon = Sequence[ - FrameMargins -> { { 1, 3 }, { 1, 1 } }, + FrameMargins -> { { 1, 6 }, { 1, 1 } }, ImageMargins -> { { 0, 0 }, { 4, 4 } }, ImageSize -> { Automatic, 22 }, RoundingRadius -> 3