GUi Resize choosing from a combo box
-
Hi everyone,
I was wondering if it's possible to allow users to resize the GUI by selecting a scale option from a ComboBox — for example, 50%, 75%, or 100%. I followed a great tutorial by the legend @d-healey, but I’d like to take it a step further and let users choose the size from a ComboBox instead. Has anyone done this before or know how I could implement it? -
-
@Oriah-Beats theres an even better drag-to-resize option that Christoph posted a while back - search the forum.
-
-
@d-healey I used this exact tutorial it works perfect. i wanted to find out if i could rather load the zoom in a combo box and let user choose which size they would prefer other than dragging to resize?
-
@Oriah-Beats Yeah for that it's the function @Chazrox provided above.
If you're going to combine the dragger and the combo box in the same project you're going to have to modify the dragger script so that it also updates the combo box value. I would probably just add a "Custom" item at the end of the combo box list and if the user changes the size using the dragger you can just set the combo box to Custom.
-
@Chazrox This worked Thank you brother
-
@d-healey Thank you i was able to do it.