I am working with the RadListView and noticed that its right and bottom border gets clipped at some (not all) width/heights and some scale factors (most notably 150% and 175%). This problem does not occur with the basic System.Windows.Forms.ListView.
Here is the code that I have wrote to replicate this problem with both the WinForms list view and the RadListView.
private void InitializeComponent()
{
this.listView1 = new System.Windows.Forms.ListView();
this.radListView1 = new Telerik.WinControls.UI.RadListView();
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
this.SuspendLayout();
this.listView1.HideSelection = false;
this.listView1.Location = new System.Drawing.Point(155, 10);
this.listView1.Name = "listView1";
this.listView1.Size = new System.Drawing.Size(135, 175);
this.radListView1.Location = new System.Drawing.Point(5, 10);
this.radListView1.Name = "radListView1";
this.radListView1.Size = new System.Drawing.Size(135, 175);
this.radListView1.UseCompatibleTextRendering = true;
this.Controls.Add(this.radListView1);
this.Controls.Add(this.listView1);
this.Name = "RadForm1";
this.Text = "RadForm1";
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
this.ResumeLayout(false);
}Here is a screenshot of the dialog when the scale factor is at 100% (left is the RadListView component):
and here is a screenshot of when my display is scaled at 150% (left is the RadListView component):
To replicate: run the project attached, both at 100% scaling and 150% scaling.
Thanks!
Hi,
When using a RadDropDownList component and the RadVirtualKeyboard component I have a problem. The AutoCompleteMode.Suggest works fine the first time I click on RadVirtualKeyboard but for the other clics the suggested items don't appears on the screen.
Regards
Gilles
Contrary to Telerik.WinControls.UI.Barcode.QRCode, Telerik.WinControls.UI.Barcode.Symbology.QRCode creates invalid (unscannable) QR-Codes if the message contains umlauts when using ECIMode.UTF8.
We are using Symbology.QRCode, because we use it in columns of a RadGridView.
I've attached two example QR-Codes of the value "Bär", one using Barcode.QRCode, and the other one using Barcode.Symbology.QRCode.
Note: I have one scanner that can scan some of the Barcode.Symbology QR-Codes with umlauts.
This is observed when moving the Form to monitors with different DPI settings:
Hi,
I have an issue/query if you wouldn't mind help me out with please.
When using multiple monitors, if the main monitor is on scale and layout 100% and the 2nd monitor is 150%. When showing the context menu it blows the menu up even when shown on the main screen (see attached images).
Is there any way to disable Scale and Layout affecting the scale of the context menu or for the context menu to determine which screen it's being displayed on and use the Scale and Layout for that monitor?
Thanks.
Excel-like pop-up location is not scaled properly on High DPI.
Currently, colors with an alpha channel defined with the 'rgba' function are not respected, for example, the following:
<span style="background-color: rgba(0, 0, 0, 0.5);">Some text</span>
It is imported as black color; semi-transparent colors are exported without the alpha channel.
When the RadSpreadsheet is docked and the TelerikMetroTouch theme is applied, the Vertical ScrollBar is not fully visible.
Hi Guys,
ColorDialog on higher dpi has some small problems.
1. Size of dialog is larger so there is large gap in right and bottom part.
2. Selected radio button black circle is not in center of larger circle.
Best regards
Rene
When using DFKai-SB , the glyphs are not rendered like in Adobe or the browser:
Adobe:
PdfViewer:
Repro-steps:
Expected behavior:
Observed behavior:
Please observe that Grid.UserAddedRow is not handled, but since we cannot even see the AddNewRow, it is not required for this bug.
public partial class TestForm: Form
{
private readonly DataView _view;
public TestForm()
{
InitializeComponent();
_view = new DataView(LoadTable(true));
_grid.ColumnCount = _view.Table.Columns.Count;
_grid.RowCount = _view.Count;
_grid.AllowAddNewRow = true;
_grid.SelectionMode = VirtualGridSelectionMode.FullRowSelect;
}
static private DataTable LoadTable(bool fill)
{
var table = new DataTable();
table.Columns.Add("Number", typeof(int));
if (fill)
for(int i = 0; i < 20; i++)
table.Rows.Add(i);
return table;
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this._grid = new Telerik.WinControls.UI.RadVirtualGrid();
((System.ComponentModel.ISupportInitialize)(this._grid)).BeginInit();
this.SuspendLayout();
//
// _grid
//
this._grid.Dock = System.Windows.Forms.DockStyle.Fill;
this._grid.Location = new System.Drawing.Point(0, 0);
this._grid.MultiSelect = true;
this._grid.Name = "_grid";
this._grid.SelectionMode = Telerik.WinControls.UI.VirtualGridSelectionMode.FullRowSelect;
this._grid.Size = new System.Drawing.Size(800, 450);
this._grid.TabIndex = 0;
this._grid.CellValueNeeded += new Telerik.WinControls.UI.VirtualGridCellValueNeededEventHandler(this._grid_CellValueNeeded);
this._grid.UserDeletedRow += new Telerik.WinControls.UI.VirtualGridRowsEventHandler(this._grid_UserDeletedRow);
//
// TestForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(800, 450);
this.Controls.Add(this._grid);
this.Name = "TestForm";
this.Text = "TestForm";
((System.ComponentModel.ISupportInitialize)(this._grid)).EndInit();
this.ResumeLayout(false);
}
#endregion
private Telerik.WinControls.UI.RadVirtualGrid _grid;
private void _grid_CellValueNeeded(object sender, Telerik.WinControls.UI.VirtualGridCellValueNeededEventArgs e)
{
if (e.ColumnIndex < 0)
return;
if (e.RowIndex < 0)
{
e.FieldName = _view.Table.Columns[e.ColumnIndex].ColumnName;
if (e.RowIndex == RadVirtualGrid.HeaderRowIndex)
e.Value = e.FieldName;
}
else if (e.RowIndex < _view.Count)
{
e.Value = _view[e.RowIndex][e.ColumnIndex];
}
}
private void _grid_UserDeletedRow(object sender, Telerik.WinControls.UI.VirtualGridRowsEventArgs e)
{
var rowIndexes = e.RowIndices.Distinct().OrderByDescending(i => i).ToList(); // Off topic: I have seen duplicate row indexes in this row collection. And unsorted. Is that by design?
if (rowIndexes.Count == _view.Count)
{
_view.Table.Rows.Clear();
}
else
{
foreach(var index in rowIndexes)
_view[index].Delete();
}
_grid.RowCount = _view.Count;
}
}