FitScale=True, KeepProportions=True And Resizing the Display
Posted: Sat Sep 13, 2014 12:39 pm
Hi Andreas,
I'm not sure if this is really a bug or expected behavior. If it is expected behavior, then I'll put in a feature request to change this behavior in future Hollywood versions.
I noticed that if set FitScale=True and KeepProportions=True in the @DISPLAY preprocessor command, then I'm restricted to the width/height ratio that is used when the program starts. This code shows the problem:
What I hoped would happen is that when I call SetDisplayAttributes({Width=400, Height=400}) the display would then look the same as if I had started with @DISPLAY {Borderless=True, Width=400, Height=400, Color=#WHITE, ScaleMode=#SCALEMODE_LAYER, FitScale=True, KeepProportions=True}
A related feature request would be to have FitScale and KeepProportions changeable through SetDisplayAttributes().
Is there any kind of a work-around way to change the width/height ratio if FitScale=True and KeepProportions=True are used at the start?
I'm not sure if this is really a bug or expected behavior. If it is expected behavior, then I'll put in a feature request to change this behavior in future Hollywood versions.
I noticed that if set FitScale=True and KeepProportions=True in the @DISPLAY preprocessor command, then I'm restricted to the width/height ratio that is used when the program starts. This code shows the problem:
Code: Select all
@DISPLAY {Borderless=True, Width=600, Height=200, Color=#WHITE, ScaleMode=#SCALEMODE_LAYER, FitScale=True, KeepProportions=True}
WaitLeftMouse()
SetDisplayAttributes({Width=400, Height=400})A related feature request would be to have FitScale and KeepProportions changeable through SetDisplayAttributes().
Is there any kind of a work-around way to change the width/height ratio if FitScale=True and KeepProportions=True are used at the start?