diff options
| author | Crystalwarrior <varsash@gmail.com> | 2019-09-20 15:54:45 +0300 |
|---|---|---|
| committer | Crystalwarrior <varsash@gmail.com> | 2019-09-20 15:54:45 +0300 |
| commit | d3f23708c43bc132c322b778b2aa8d31a68d1c0c (patch) | |
| tree | ecdc8ee551cb0614ad0285880eb7e14312df077a /src/evidence.cpp | |
| parent | 3899dbe0bd82875214ebd676130692120f89a412 (diff) | |
Revert buttons using setIcon and use a better stylesheet method instead
Fix evidence buttons and emote buttons being hardcoded size
Diffstat (limited to 'src/evidence.cpp')
| -rw-r--r-- | src/evidence.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/evidence.cpp b/src/evidence.cpp index 727f4bf6..b04a9d60 100644 --- a/src/evidence.cpp +++ b/src/evidence.cpp @@ -74,7 +74,7 @@ void Courtroom::refresh_evidence() int x_pos = (button_width + x_spacing) * x_mod_count; int y_pos = (button_height + y_spacing) * y_mod_count; - AOEvidenceButton *f_evidence = new AOEvidenceButton(ui_evidence_buttons, ao_app, x_pos, y_pos); + AOEvidenceButton *f_evidence = new AOEvidenceButton(ui_evidence_buttons, ao_app, x_pos, y_pos, button_width, button_height); ui_evidence_list.append(f_evidence); |
