I'm using the Q2 beta controls and I have pretty much followed the MS Word sample posted on this forum:
I'm facing two issues and both can be seen in the attached screenshot
1. When the editor is first loaded with the above code - the cursor is placed up in the left corner outside the white area. When I start typing the cursor jumps inside the white area and everything looks normal.
2. There are no arrows on the rulers - they are simply gone.
Private Sub document_editor_Loaded(ByVal sender As Object, ByVal e As System.Windows.RoutedEventArgs) Handles Me.Loaded |
RTB_ruler.AssociatedRichTextBox = RTB |
SetupNewDocument(RTB.Document) |
End Sub |
Private Sub SetupNewDocument(ByVal _doc As RadDocument) |
_doc.LayoutMode = DocumentLayoutModes.Paged |
_doc.ParagraphDefaultSpacingAfter = 10 |
_doc.ParagraphDefaultSpacingBefore = 0 |
_doc.PageViewMargin = New SizeF(6, 6) |
_doc.SectionDefaultPageMargin = New Padding(95) |
End Sub |
I'm facing two issues and both can be seen in the attached screenshot
1. When the editor is first loaded with the above code - the cursor is placed up in the left corner outside the white area. When I start typing the cursor jumps inside the white area and everything looks normal.
2. There are no arrows on the rulers - they are simply gone.