Skip to content
This repository has been archived by the owner on Jan 16, 2022. It is now read-only.

Reduce RibbonBar Top Size #223

Open
pc8181 opened this issue Aug 9, 2019 · 13 comments
Open

Reduce RibbonBar Top Size #223

pc8181 opened this issue Aug 9, 2019 · 13 comments

Comments

@pc8181
Copy link

pc8181 commented Aug 9, 2019

image

Hi SIr,
i added RibbonControl into Panel (dock in top,. i just upload the image here,..)
after added ribbon control into panel control, it shows some extra space on top of the ribbon control i tried to reduce it i could not and i have no idea how to do this.. can you help this...
(without panel control it's look good but i need put into panel control because wana add some images on top)..

Thanks

@Smurf-IV
Copy link
Collaborator

Smurf-IV commented Aug 9, 2019

@pc8181 Is this an "Extended ribbon" or one form the base krypton controls?
@pc8181 A simple Example zipped up please ?

@pc8181
Copy link
Author

pc8181 commented Aug 9, 2019

Thanks for your reply sir...

added two form,
Form2 is better look,, but Form1 has extra space like title bar.

TestProject.zip

@Wagnerp
Copy link
Collaborator

Wagnerp commented Aug 9, 2019

Hi @pc8181

I don't think that you have set the AllowFormIntegrate to true

@pc8181
Copy link
Author

pc8181 commented Aug 9, 2019

Hi Sir,
i did AllowFormIntegrate = True
QATLocation = Hidden
but none of working ...

@Wagnerp
Copy link
Collaborator

Wagnerp commented Aug 9, 2019

Hi @pc8181

You did on Form2 but not on Form1, hence the reason why it was showing the normal title bar.

@pc8181
Copy link
Author

pc8181 commented Aug 9, 2019

Hi Sir,
RibbonControl, i put into Panel control in Form1 not in Form2 that is the reason .. so i wana hide the title bar in Form1

@Wagnerp
Copy link
Collaborator

Wagnerp commented Aug 9, 2019

Hi @pc8181

Which panel did you use? As at the moment, you can't detach the ribbon from a window.

@pc8181
Copy link
Author

pc8181 commented Aug 9, 2019

Hi Sir,
I tried with normal windows form panel control and krypton panel control both are same result

Thanks.

@Wagnerp
Copy link
Collaborator

Wagnerp commented Aug 9, 2019

Hi @pc8181

You don't need a panel to host a Ribbon control, how it works is that you place it directly onto a form. Have you tried installing the item templates that are hosted here?

@pc8181
Copy link
Author

pc8181 commented Aug 9, 2019

Hi Sir,
Thanks for your valuable time spending for my question..
i added both items (Project,Item) template and tested...
this below image is used, item and project template method .. i changed one line to

this.kryptonPanel2.Controls.Add(this.kryptonRibbon1);

reason is Ribbon control does not support any picture/image control so i want to place some big images on top right side so i placed the ribbon into panel control and tried to reduce the title bar size that's all

image

Thanks

@Wagnerp
Copy link
Collaborator

Wagnerp commented Aug 9, 2019

I might be wrong, but I don't think that you can reduce the title bar size. Maybe changing the ribbon dock property will help?

@Wagnerp Wagnerp transferred this issue from Krypton-Suite-Legacy-Archive/Krypton-Toolkit-Suite-Extended-NET-5.470 Aug 9, 2019
@pc8181
Copy link
Author

pc8181 commented Aug 9, 2019

Hi Sir,
Dock property is not available in Ribbon control

image

or is that possible to add group image like below ?
image

@Wagnerp
Copy link
Collaborator

Wagnerp commented Sep 8, 2019

There isn't a ribbon picture box at the moment. It could be something to look into in the future.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants