Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    HLayout: wrapping of members when resizing or show tabbar-like controls?

    Hi,
    I have a question, for a toolbar implementation we use a HLayout, when a user resizes the window to a very small size, is it somehow possible/easy to let the HLayout increase height and do kind of wrapping?

    Or another solution instead of wrapping would be to show a set of controls which makes it possible to scroll through the buttons in a toolbar: when the tab headers in a tabset are wider than the tabset itself then a set of controls is shown (prev/next tab, drop down with tabs). Is this type of functionality available on the toolbar also? So that if the toolbar is smaller than the sum of widths of the buttons that it will show this same type of controls?

    gr. Martin

    #2
    bumped up as the post was not answered

    Comment


      #3
      This behavior is built into the TabSet (showPickerControls, showScroller, et al) but if you are starting from Toolbar/HLayout, you'd need to implement it yourself, started from the resized() event and calculating whether your components will fit.

      Comment

      Working...
      X