Last Updated: 03 Sep 2021 11:54 by ADMIN
Release R3 2021
Martin Ivanov
Created on: 01 Sep 2021 14:00
Category: ImageEditor
Type: Bug Report
ImageEditor: Missing vertical scrollbar in the settings panel of RadImageEditorUI in the Office2019 and VisualStudio2019 themes

The RadImageEditorUI's tools (selection, shape, text, etc.) have different UI element representing their settings. Those are hosted in a settings panel. In case there are many options that cannot fit in the vertical size of the control, a scrollbar should get displayed. One example of this is the SelectionTool.

In the Office2019 and VisualStudio2019 themes, the vertical scrollbar doesn't get displayed.

To work this around, extract the ControlTemplate of SettingsPanel control. Then find the first RowDefinition of the root Grid panel and change its Height from Auto to star ( * ).

<Style TargetType="telerik:ToolSettingsPanel">	
	<Setter Property="Template">
			<ControlTemplate TargetType="telerik:ToolSettingsPanel">
				<Grid Background="{TemplateBinding Background}">
						<RowDefinition Height="*"/>
						<RowDefinition Height="Auto"/>
<!-- other xaml here -->