1. Troy Cowan
  2. PowerBuilder
  3. Monday, 30 January 2023 13:35 PM UTC

What is the default height of toolbars?

Can they be changed?

 

 

 

 

PowerBuilder 2021 build 1506

Windows 10 Enterprise. 

Armeen Mazda @Appeon Accepted Answer Pending Moderation
  1. Monday, 30 January 2023 17:14 PM UTC
  2. PowerBuilder
  3. # 1

Another alternative is to use the RibbonBar control, which has a height property: https://docs.appeon.com/pb2022/objects_and_controls/RibbonBar_control.html

Comment
There are no comments made yet.
Andreas Mykonios Accepted Answer Pending Moderation
  1. Monday, 30 January 2023 14:10 PM UTC
  2. PowerBuilder
  3. # 2

Hi.

You cannot control toolbars height. Size will be bigger if you enable large buttons.

Andreas.

Comment
  1. Andreas Mykonios
  2. Monday, 30 January 2023 15:07 PM UTC
Hi Miguel.

You are right, but scaling will affect all objects & controls, not specifically the toolbar. It's something like zooming...

Andreas.
  1. Helpful 2
  1. Miguel Leeuwe
  2. Monday, 30 January 2023 16:48 PM UTC
Hi Andreas,

Yes, I find it pretty difficult to deal with all possible settings. We - at least myself - end up adding hardcoded values to heights to take in account menus, border widths, toolbars. I wish there'd be a more transparent / easier way to deal with this.

regards
  1. Helpful 1
  1. Roland Smith
  2. Monday, 30 January 2023 20:26 PM UTC
There is a Windows function to get the title bar and border width among several other settings. The toolbar is a PowerBuilder specific control that is a fixed size. The size depends on if you are showing text or using the Contemporary mode.
  1. Helpful 2
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.