Resizable GUI
-
@Natanr yes. I'm not at my computer at the mo but I'll post an example when I am, unless someone beats me to it
-
@d-healey Thanks dear david
-
You have to use a floating tile and set the tile data. You can't use a normal combo box as far as I can tell and there isn't much in the way of customization.
HiseSnippet 1043.3ocsV0kaaaDDdWaQ2Jk3zjfb.H7SN.tFRtwIsIODE8mgPrrEBUBJPQQvJxQRKzxcIHW5XEi.zG5InuzaQuBMu2SQuA8F3NKIkHkphaTApdQZ9lY18a9YmQ8CUtPTjJjPKOXV.Pn21xYlTOo4DFWR51hPuiUOVjFBsSgZLKfEEAdDJc6SL.zxkHIe9qm2fIXRWHGhPdih6Bmx845bz90eIWH5v7fAb+BV+n5ccUxlJgJF4y1VUIAL2orwvYLiYaYQn6z1iqUgNZlFhPaZn7l4LQ8NYp8ugGwGJ.iPMhCdPovjlS3Bu9yi0HBgVpedjucZj+.qdbO9B77LvcSTXm6Qwb.cqkoToknTsOEk5nDdlC3SPOZA5UJkd2yxwMjGny0X31sr5JwhyHFl1KRqTaIzOZ0TgFH0G5ylBcBQgENr+iqV8.6iqV8gOaTrzUyURak7LkFNWt+CqbUkxU9PE6UUMZzZ0YtlPkP.gqUsoRGdSNtuL1eHDdf8ELQLrvPL7WN+tymW90MMpKXnR1Ux0mG.Yx4UfZqoBPxRalZQFCQS0IUh6jUIbDbOHjvwC4KrdoTMrFIg7E6+IutaKllM+XvSDuk.HTyMACsEbA99Hs.W1pEDMUqBvV8lJ+.kzb+zaoy5NSuzNBESykiGvwf1b0ekUQnZjKyu9mVeVtv2U+cbO8DB0h9KTBYBvGOQajZmGsoD4tVMiizJeGPaN1HxvwyeTVdGz3qMGGWC94n+wGudEziJBmjB15WoVWsaEa68Fv0BXumZuWa4XtD16fDzVg7KfPDdDSDAYXI4mkwNOVGDqWFqQ7nQPnC+8qXqCyOP.uBacVF+DgZHSzneuULWGBLeLl6o7V8jbYBnCyEaEQE5v3L7jAbuvWEK08hEZdffuZPzT.rPyHjlMWG6NU4xLuEVMxGFeyz3TdjIK7CFba6pGd7Ay+0Sl+yZy+9viV.svtiLe8i6V4Clx+h1sa+u1im2f8SSJ1fA0izyLuD2IwPhO2yS.8UQbSzUXOwuiqSBL0JC1UO32N4Oe+O+b+hqRHDe1kE2rDg0W9kI6.FwE9QZjac8wUCD58sdcDX6AiXX52NZJdNBtbJ3MPkXO4eNJEGnq7hEL8xS4MqyxTXHbwwolYlRLPlUjTavn+pqcz+ZG77YR26Y0mqcmrd9t0Z3KNB5+a9lsHcWq13qQWcNYKY046+ut0bCnxqTwlAV8XX6A1rXcVruCNJxEPlHkfHxLtaKy3tT4pFYSlwAjdIBWiexTVyHSyTVatRrwzMT8V2zUBlU0eYBBxIYx+RoL92kPY6E6BL7FeJveqqqIQ700Hj06wQarGeyF6wi1XONdi83warGOYi83auAOLSZeQLt+J8YABzucxBHJssjgcUIcfj+FzDoqOH
-
@d-healey Thanks Dear david , I Could do that by my Self , Thought that May be There is a scripting way So we can customize That White box
-
@Natanr Only by editing the HISE source code I believe.
-
@d-healey Thank you Sir Will Keep that white and stay away from fire
-
I would love to be able to edit the color size and placement of this box(placement within the floating tile)
I can take it down to a certain level in size but I need it smaller , and its also not in the top left corner of the floating tile which limits placement possibilitiesAlso think that the arrows are redundant or I would like to be able to remove them. I could possibly make space for that thing and live with the white , but it will not go further up due to not being at 0,0 in the floating tile.
-
@lalalandsynth You can place it inside a smaller panel with negative offset which then acts as a mask ;)
-
@ustk UUHH,...let me try that.
EDIT: Ok, that way I can get rid of the arrows but still cannot place it at the top.
-
@lalalandsynth Also I think (hope) more custom LookAndFeel properties will come after V3
-
@ustk Sooo close , eheh
-
Use a panel instead of a combo box.
-
@d-healey Not using a combo box .
I have the floating tile inside of a panel and the floating box cannot be moved higher within the panel.
Is there another way of doing this ? -
@lalalandsynth I don't think so. Can you set a negative Y value?
-
I can use the panel to trim off the arrows but this is how the ScaleFactor is placed within the floating tile.
-
I managed to make this work !!
Learning...slowly -
This definitely needs theming options moving forward, UI sizing options are going to become more common as screen sizes and resolutions get ridiculous.
-
@lalalandsynth
Great, how did you get it to work in the end? -
@LeeC Just have a look few posts above, I gave the answer ;)
https://forum.hise.audio/topic/769/resizable-gui/21