Need Help with Horazontal Slider Resizing.

DoctorPervic

Well-Known Member
Game Developer
Aug 13, 2019
1,071
4,419
So I just released a new VN on here. You can go to the game via this link.

https://f95zone.to/threads/principalx-v0-1-doctor-pervic.149254/

1676959445398.png

As you can see, I've created a slider for the main dialogue text box transparency, and it all works great. But I need to figure out how to change the size of the top slider to something smaller. Any help in understanding what I need to do would be greatly appreciated.

thank you all so much.
 

osanaiko

Engaged Member
Modder
Jul 4, 2017
2,247
3,846
Please post the code of what you changed on the preferences screen, it will be much easier to point out the necessary change.

Also when you post it, use the "code" format to make it more readable.
 

rayminator

Engaged Member
Respected User
Sep 26, 2018
3,040
3,135
go here for more info on bars & sliders



if you adjust define gui.slider_size = 64 then you would need to adjust the border as well


find your code and change to this

Python:
vbox:
            hbox:
                style_prefix "slider"
                box_wrap True

                vbox:
                    label _("Dialogue box opacity")
                    bar value FieldValue(persistent, "dialogueBoxOpacity", range=1000.0)
 
Last edited: