Skip to content

Commit

Permalink
Change time font size widget from a spinbox to sliderEdit (#2771)
Browse files Browse the repository at this point in the history
  • Loading branch information
sgpearse authored Jul 6, 2021
1 parent 7c0e054 commit af6d8c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/vaporgui/AnnotationEventRouter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ AnnotationEventRouter::AnnotationEventRouter(QWidget *parent, ControlExec *ce) :

PGroup *timeAnnotationGroup = new PGroup({new PSection(
"Time Annotation", {new PEnumDropdown(AnnotationParams::_timeTypeTag, {"No annotation", "Time step number", "User time", "Formatted date/time"}, {0, 1, 2, 3}, "Annotation type"),
new PIntegerInput(AnnotationParams::_timeSizeTag, "Font Size"),
(new PIntegerSliderEdit(VAPoR::AnnotationParams::_timeSizeTag, "Font Size"))->SetRange(24, 100)->EnableDynamicUpdate(),
(new PDoubleSliderEdit(AnnotationParams::_timeLLXTag, "X Position"))->EnableDynamicUpdate(),
(new PDoubleSliderEdit(AnnotationParams::_timeLLYTag, "Y Position"))->EnableDynamicUpdate(),
new PColorSelector(AnnotationParams::_timeColorTag, "Text Color")})
Expand Down

0 comments on commit af6d8c1

Please sign in to comment.