Skip to content

AG_ProgressBarSetWidth does nothing #82

@scaramacai

Description

@scaramacai

May be related to #81 ?
I tried to modify widgets.c in agartest to vary the width of the horizontal progress bar, but nothing happens

--- widgets.c.orig  2024-04-10 03:26:54.000000000 +0200
+++ widgets.c      2024-04-21 08:13:39.214345473 +0200
@@ -526,6 +526,7 @@
                pb = AG_ProgressBarNewHoriz(hBox, AG_PROGRESS_BAR_EXCL |
                                                  AG_PROGRESS_BAR_SHOW_PCT |
                                                  AG_PROGRESS_BAR_HFILL);
+               AG_ProgressBarSetWidth(pb, 2);
                AG_BindInt(pb, "value", &myVal);
                AG_BindInt(pb, "min", &myMin);
                AG_BindInt(pb, "max", &myMax);

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions