Forum
Sign Up

How do you set spacing between RibbonBar widgets?

12 years 6 months ago #1 by Ben
If I have a 32x32 icon button (an action) and place a widget to the right of it, however the spacing is way too close and it looks cramped. How do I set the left margin on the widget (say a combobox)?

Please Log in or Create an account to join the conversation.

More
12 years 6 months ago - 12 years 6 months ago #2 by Developer Machines
At the moment padding can not be set explicitly. We are currently working on a new mechanism of Ribbon item's layout, in which this can be obviously realized. The mechanism will allow to group elements in the Ribbon page arbitrarily and even create new rows of the elements.
For example you can put the items in the four rows instead of three as now.
Very closely to what is specified in this specification:
http://msdn.microsoft.com/en-us/library/windows/desktop/dd371656(v=vs.85).aspx

However, this mechanism appears in the major version in late summer.

Please show me the code that you are trying and maybe i can to help to solve problem in current implementation.
Last edit: 12 years 6 months ago by Developer Machines.

Please Log in or Create an account to join the conversation.

More
12 years 1 month ago #3 by Kevin Dibble
Any status on this update?

I'd also like the ability to control the layout more. One of our current problems is the Ribbon Group will stack three rows of small buttons before making a second column. I'd like to control when the group switches to a new column (i.e. put down two small buttons then start a new column and add some additional widgets like a spin box).

Please Log in or Create an account to join the conversation.

More
  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to edit your message.
Moderators: Developer Machines
Time to create page: 0.141 seconds

Developer Newsletter

Join our Developer Machines newsletter to get informed on all the latest releases of the commercial components for Qt.C++, Delphi FireMonkey, updates and general knowledges.

Quick Support

Should you need any additional information about our products or licensing, please contact us at the following email addresses:

  • This email address is being protected from spambots. You need JavaScript enabled to view it.

  • This email address is being protected from spambots. You need JavaScript enabled to view it.

Get in Touch

If you would like to purchase our products or services, but don’t know how to do it the right way, please feel free to contact us:

  • This email address is being protected from spambots. You need JavaScript enabled to view it.( any questions related to our products or services )
  • This email address is being protected from spambots. You need JavaScript enabled to view it.( questions related to licensing )