Completed
Last Updated: 29 Aug 2017 06:11 by ADMIN
ADMIN
Hristo
Created on: 22 Aug 2017 10:59
Category: UI Framework
Type: Bug Report
1
FIX. TPF - the text box used by the PlusMinusEditor in the WatermarkPreviewDialog hides one of the buttons
How to reproduce: check the attached screenshot

Workaround create a custom RadPrintPreviewDialog
public class MyRadPrintPreviewDialog : RadPrintPreviewDialog
{
    protected override WatermarkPreviewDialog CreateWatermarkDialog()
    {
        WatermarkPreviewDialog dialog = new WatermarkPreviewDialog(this.Document);

        RadPageViewPage pageText = (RadPageViewPage)dialog.Controls["radPageView1"].Controls["pageText"];
        ((PlusMinusEditor)pageText.Controls["plusMinusEditorTextHOffset"]).TextBox.Width = 43;
        ((PlusMinusEditor)pageText.Controls["plusMinusEditorTextVOffset"]).TextBox.Width = 43;
        ((PlusMinusEditor)pageText.Controls["plusMinusEditorTextAngle"]).TextBox.Width = 43;
        ((PlusMinusEditor)pageText.Controls["plusMinusEditorTextOpacity"]).TextBox.Width = 43;
        RadPageViewPage pagePicture = (RadPageViewPage)dialog.Controls["radPageView1"].Controls["pagePicture"];
        ((PlusMinusEditor)pagePicture.Controls["plusMinusEditorImageHOffset"]).TextBox.Width = 43;
        ((PlusMinusEditor)pagePicture.Controls["plusMinusEditorImageVOffset"]).TextBox.Width = 43;
        ((PlusMinusEditor)pagePicture.Controls["plusMinusEditorImageOpacity"]).TextBox.Width = 43;

        return dialog;
    }
}
Attached Files:
(Total attached files size should be smaller than 20mb. Allowed extensions: .zip, .rar, .jpg, .png, .gif)
0 comments