This is a migrated thread and some comments may be shown as answers.

A maximized RibbonForm on Win7 and XP

14 Answers 78 Views
RibbonBar
This is a migrated thread and some comments may be shown as answers.
DoomerDGR8
Top achievements
Rank 2
Iron
Iron
Veteran
DoomerDGR8 asked on 09 Feb 2011, 12:21 PM
My Ribbon form is slightly cropped on my Windows 7 dev machine. But on a windows XP machine, the borders are beautifully visible. See attached files.

14 Answers, 1 is accepted

Sort by
0
DoomerDGR8
Top achievements
Rank 2
Iron
Iron
Veteran
answered on 10 Feb 2011, 03:57 PM
Any help please.
0
Richard Slade
Top achievements
Rank 2
answered on 10 Feb 2011, 04:00 PM
Hi Hassan,

I've got both a Win7 and XP machine here. I'll try it out with just a RadRibbonForm. What theme is that you're using?
Richard
0
DoomerDGR8
Top achievements
Rank 2
Iron
Iron
Veteran
answered on 10 Feb 2011, 04:12 PM
Main theme is Desert. So far, all themes are behaving the same way.
0
Richard Slade
Top achievements
Rank 2
answered on 10 Feb 2011, 04:22 PM
Hi Hassan,

Attached are 2 images. One from my Win7 64 bit laptop, and the other from my XP Desktop. To be honest, I can't really see much difference.
Richard
0
DoomerDGR8
Top achievements
Rank 2
Iron
Iron
Veteran
answered on 10 Feb 2011, 04:52 PM
I have this in my form's constructor:

public AppMDIRibbon() {
  InitializeComponent();
  AllowTransparency = true;
  AllowAero = true;
}

I have AllowAero as true as I think it looks more beautiful. having AllowAero as false will produce the correct result but very ugly.
0
Richard Slade
Top achievements
Rank 2
answered on 10 Feb 2011, 05:21 PM
Here you are, the same settings as you have. To be honest, I still can't notice a particular issue.
Let me know if you spot something in it though
Richard
0
DoomerDGR8
Top achievements
Rank 2
Iron
Iron
Veteran
answered on 10 Feb 2011, 05:58 PM
Sorry, I meant AllowAero = false is what I require...

So,

public AppMDIRibbon() {
  InitializeComponent();
  AllowTransparency = true;
  AllowAero = false;
}
0
Richard Slade
Top achievements
Rank 2
answered on 10 Feb 2011, 06:10 PM
Hi Hassan,

See attached. Still not seeing much difference.
Richard
0
DoomerDGR8
Top achievements
Rank 2
Iron
Iron
Veteran
answered on 10 Feb 2011, 06:37 PM
Well, the cut-offs are clearly seen as the round application button and the whle Left and right borders are gone. see my original winxp screen.
0
Richard Slade
Top achievements
Rank 2
answered on 10 Feb 2011, 06:43 PM
Just a thought, but your AutoScaleMode property on the form is probably set to Font. Could you try setting it to none and see if that makes any difference.
otherwise, I admit I am unable to think of anything else on this one at the moment.
Richard
0
DoomerDGR8
Top achievements
Rank 2
Iron
Iron
Veteran
answered on 11 Feb 2011, 12:58 PM
Sadly, nothing happened. It's not an issue for me but it means a lot to the designers and the QA guys. They make my life very difficult ans as the Telerik demos work properly, they blame me for this. I can set AllowAero = true fom now and loose the cool Form buttons (Minimize, Maximize, and Close) but you Telerik guys gotta check this one out.
0
Richard Slade
Top achievements
Rank 2
answered on 11 Feb 2011, 01:18 PM
Sorry I couldn't help further on this one Hassan. If I can think of anyhting else, I'll be sure to let you know
Richard
0
DoomerDGR8
Top achievements
Rank 2
Iron
Iron
Veteran
answered on 11 Feb 2011, 01:28 PM
Okay. No Problem. You helped me out a lot on different things. This one is weird. I'll wait.
0
Ivan Petrov
Telerik team
answered on 11 Feb 2011, 05:28 PM
Hello Hassan,

I cannot reproduce the behavior you have described, but what you can do is increase the margin of the main panel hosting the groups of the RadRibbonBar which will allow you to see more of the white background. I have attached a screen shot to ease your way to the margin property you need to set.

I hope this will help you. If you need further assistance I would be happy to provide it.

Greetings,
Ivan Petrov
the Telerik team
Q3’10 SP1 of RadControls for WinForms is available for download; also available is the Q1'11 Roadmap for Telerik Windows Forms controls.
Tags
RibbonBar
Asked by
DoomerDGR8
Top achievements
Rank 2
Iron
Iron
Veteran
Answers by
DoomerDGR8
Top achievements
Rank 2
Iron
Iron
Veteran
Richard Slade
Top achievements
Rank 2
Ivan Petrov
Telerik team
Share this question
or