Please refer to the attached sample project and follow the steps from the gif file.
You will notice that each time a random group displays only images (no text) when the groups don't fit in the ribbon's width.
Workaround:
public MDIForm()
{
InitializeComponent();
this.radRibbonBar1.RibbonBarElement.ItemVisiblityStateChanging += this.RibbonBarElement_ItemVisiblityStateChanging;
}
private void RibbonBarElement_ItemVisiblityStateChanging(object sender, ItemVisiblityStateChangingEventArgs args)
{
if (args.NextVisibilityState == ChunkVisibilityState.NoText)
{
args.Cancel = true;
}
}
Hi,
please see the attached sample and screen shot.
If application with Ribbon Bar is moved to a high dpi display (or started on a 4K display), two issues happen:
Regards
Martin
By default, the ImagePrimitive in a ribbon button is auto sized. If you want to disable the AutoSize property of the image and specify a specific Size, the AutoSize property gets serialized in the designer, but the Size is not. This leads to missing image after reopening the designer.
After saving the changes and reopening the designer the image is missing since its Size property is not serialized:
To reproduce: Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load For index = 1 To 10 Dim Temp As New RadButtonElement Temp.Image = Image.FromFile("C:\Program Files (x86)\Telerik\RadControls for WinForms Q3 2012\Examples\QuickStart\Resources\1RibbonMenuNewMagenta.png") Temp.TextImageRelation = TextImageRelation.ImageAboveText Temp.ImageAlignment = ContentAlignment.MiddleCenter Temp.Text = "Test" RadRibbonBarGroup1.Items.Add(Temp) Next 'workaround 'RadRibbonBar1.RibbonBarElement.ElementTree.ApplyThemeToElement(RadRibbonBar1.RibbonBarElement) End Sub
To reproduce: - Set the Windows theme to Windows 7 Basic - Start a RadRibbonForm and maximize it Workaround: void Form1_Resize(object sender, System.EventArgs e) { if (this.WindowState == FormWindowState.Maximized) { this.RibbonBar.RibbonBarElement.IconPrimitive.Padding = new Padding(5, 5, 0, 0); } else { this.RibbonBar.RibbonBarElement.IconPrimitive.Padding = Padding.Empty; } }
The drop down of QuickAccessToolBar does not close when its drop down button is clicked while the drop down is opened
radRibbonBar1.RibbonBarElement.ApplicationButtonElement.DropDownMenu.FadeAnimationType to be available in properties window.
Once elements are added to RadRibbonBar and the designer is closed and reopened, elements from RadRibbonBar cannot be selected.
To reproduce 1. Add a form with ribbon 2. Add one tab 3. Go to Code View 4. Go back to design time and add a group and a button in the group 5. Close design time and reopen it => the items are missing
Add a RadRibbonForm, set AllowAero = false, save and close the form. Open it again and an exception will be thrown.
FIX. RadRibbonBar - setting the Font property of the control is not taken into consideration.
If you add a maximized child form with ControlBox = false or FormBorderStyle = None, the MDI control box of the RadRibbonBar in the MDIParent should not be visible.
When the Windows taskbar is in auto-hide mode and you maximize a RadRibbonForm, you cannot hover the taskbar to bring it to the screen again.
Incorrect layout when clearing and adding new items with controls in their Page to the BackstageView at run time.
The RadRibbonBar's MDI menu disappears when the control is collapsed to popup and a MDI child is maximized.