Limit min scale to 0.1 to avoid errors
This commit is contained in:
parent
7f20f3ff5b
commit
545c5365e9
2
Gtk.hs
2
Gtk.hs
@ -28,7 +28,7 @@ startGUI startFile = do
|
|||||||
box1 <- vBoxNew False 0
|
box1 <- vBoxNew False 0
|
||||||
box2 <- hButtonBoxNew
|
box2 <- hButtonBoxNew
|
||||||
box3 <- hBoxNew False 0
|
box3 <- hBoxNew False 0
|
||||||
hscale <- hScaleNewWithRange 0.0 10 0.5
|
hscale <- hScaleNewWithRange 0.1 10 0.5
|
||||||
drawButtonLabel <- labelNew $ Just "Draw"
|
drawButtonLabel <- labelNew $ Just "Draw"
|
||||||
saveButtonLabel <- labelNew $ Just "Save"
|
saveButtonLabel <- labelNew $ Just "Save"
|
||||||
quitButtonLabel <- labelNew $ Just "Quit"
|
quitButtonLabel <- labelNew $ Just "Quit"
|
||||||
|
Loading…
Reference in New Issue
Block a user