tslider: tweaked slider magic numbers so maximum value is reached

This commit is contained in:
Charles Dang 2016-02-04 18:59:22 +11:00
parent 7455e4cb79
commit a7c28ee501
2 changed files with 5 additions and 3 deletions

View file

@ -126,7 +126,7 @@
id = "default"
description = "A slider with it's value on the right hand side."
{_GUI_RESOLUTION () 150 250 22 14 55 50 30 ({GUI_NORMAL__FONT_SIZE__DEFAULT}) }
{_GUI_RESOLUTION () 150 250 22 15 57 50 30 ({GUI_NORMAL__FONT_SIZE__DEFAULT}) }
[/slider_definition]

View file

@ -15,7 +15,7 @@
[line]
x1 = 0
y1 = "(height / 2)"
x2 = "(width - 1)"
x2 = "(width - 2)"
y2 = "(height / 2)"
color = {GROOVE_COLOR}
@ -53,6 +53,8 @@
minimum_positioner_length = {POSITIONER_LENGTH}
maximum_positioner_length = {POSITIONER_LENGTH}
right_offset = 2
#text_font_size = 1 # placeholder
[state_enabled]
@ -90,7 +92,7 @@
id = "minimal"
description = "A slider without a value label."
{_GUI_RESOLUTION () 150 250 22 16 }
{_GUI_RESOLUTION () 150 250 22 15 }
[/slider_definition]