However Im finding a couple of issues, one being the ymaximum setting appears to have no effect, nor does changing the left and right bars sizing on the actual image used. Im using the default code for style/options/gui.
Is there some setting I need to tweak there that Im missing? xmaximum is working as intended.
heres a snippet of the code being used:
Code: Select all
screen chargen:
frame:
xysize (1024,576)
xalign 0.5
yalign 0.5
has vbox:
xalign 0.5
yalign 0.0
text "{b}{u}D.N.A Sequencer{/u}{/b}"
frame:
xysize (1024,576)
xalign 0.5
yalign 0.5
background
has hbox:
xalign 0.5
yalign 0.1
on "hide" action Hide("displayTextScreen")
text "Strength: [S_Pts] "
imagebutton:
idle "/misc/minus.png" clicked Jump("substr") hovered Show("displayTextScreen", displayText = "Subtract Strength") unhovered Hide("displayTextScreen")
text " "
bar:
range 10 value S_Pts xmaximum 350 ymaximum 15
text " "
imagebutton:
idle "/misc/plus.png" clicked Jump("addstr") hovered Show("displayTextScreen", displayText = "Add Strength") unhovered Hide("displayTextScreen")
The alignment will be ok as the text "strength" etc Im converting to image allowing more control over spacing.