Exit callback
-
@d-healey Do you mean you want to resize the components themselves? But a zoom factor would be more straight forward right? Or I don't get it...
-
@ustk said in Exit callback:
Do you mean you want to resize the components themselves
Maybe, but I think it will be mostly panels (which are like html divs) and then the components inside them will be repositioned. Just like when you expand/contract a website you'll see the contents shift around to fit within the page boundaries.
-
@d-healey Oh ok so you're talking about UI morphing stuff...
-
@ustk said in Exit callback:
UI morphing stuff
I've not heard it referred to as such, but maybe that's what I'm talking about :p I'm basically a glorified web developer so I'm just thinking of how html and css play together, and now we have css in HISE I'm dreaming of making the layout part work like html.
-
@d-healey This is at least how I'd call it, dunno what other say
Well, I'm dreaming how to make my html work like in Hise... :weary_face:
-
Lol how that thread derailed from a request to remove a button to „yeah let‘s reinvent responsive design“.
Everything related to CSS positioning is the worst (it almost made me discard the entire CSS stuff because it sucks so much) and for plugins you don‘t need that. Rescale your UI or extend it to show an additional element but the rest should stay where it belongs (web design).
Also I would really like to emphasize how much I hate CSS positioning if that wasn‘t made clear enough.
-
@Christoph-Hart What is your position about css positioning?
Yeah though dynamic replacement looks nice I can't really find a real world example for which my product could play its life on it...So just to re-center the topic I stole from @d-healey: :smiling_face_with_halo:
- An exit CB to perform anything you want in the world
- Remove the full window button or rescale (zoom) the interface properly
-
What is your position about css positioning?
Actually I don't have a strong opinion on CSS positioning, I thi2nk it'asflks a gosfjo 2 AAARGH!!!!
-
@ustk At that point isn't it more sensible to let us have a custom title bar?
https://forum.hise.audio/topic/9128/custom-title-bar-for-standalone
Then we can define our own buttons. It would also need a minimize method.
For quitting, you can create a simple button, do whatever you want, then call Engine.quit().
-
@aaronventure I think window decoration behaviour is controlled by the OS window manager
-
@d-healey not sure about macOS, but the code I posted will let you remove the window frame. I did it for the installer I was creating before Chris came out with Multipage Creator. Another app where it exists, off the top of my head, is the Windows version of Genelec GLM software.
https://youtu.be/NQER2hrkN-g?t=120
It's just
setUsingNativeTitleBar (false)
-
@aaronventure Oh I see what you mean. I was referring to the functionality of the stock buttons, but if they can be completely removed then no problem.
-
@d-healey You can disable the native bar then choose which of the buttons should be shown. This lets them get styled with LAF.
I'm not sure if the ones that remain shown get auto-positioned, if so, it would probably be a good idea to introduce a minimize method which just calls the system function for minimizing, and then for close we can define our own behavior and call quit, and for maximize we can use the new UI rescale method and do all the math for scaling the components manually.