1. Desarrollador 1
  2. PowerBuilder
  3. Monday, 20 May 2024 07:04 AM UTC

Good morning,

As you can see in the image, as default the ribbonbar in a category panel shows 3 rows of SmallButtons.

I've tried to show 2 rows using the tag group with property NewLine="true" and i like this case because it looks align and the space between buttons looks well.

 

But in this image the buttons are not aligned and i've tried to improve this chaging the text. from Quitar seleccion to Quitar S. to make it look align.

Is there other way to improve this behaviour ? Or better, i know that i can hide PanelText in the RibbonBar but is not enought, Is there a way to make the ribbonbar smaller ? removing some height.

 

Regards,

Bruce Armstrong Accepted Answer Pending Moderation
  1. Monday, 20 May 2024 16:49 PM UTC
  2. PowerBuilder
  3. # 1

I ran into similar issues and initially was able to improve the spacing by adding spaces before the text in the ribbon bar items.

Eventually though I had a look at Microsoft's Ribbon Bar design guide:  https://learn.microsoft.com/en-us/windows/win32/windowsribbon/windowsribbon-templates and determined that the control really isn't designed to handle just 2 or just 4 small items.  So what I did instead is if I had 2 I made them both large items, and if I had 4 I made 1 large and 3 small.


 

Comment
  1. Desarrollador 1
  2. Tuesday, 21 May 2024 06:09 AM UTC
Is there a way to make the RibbonBar shorter, i mean to have less height.
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.