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/emotes.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/emotes.cpp')
| -rw-r--r-- | src/emotes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emotes.cpp b/src/emotes.cpp index a08043c9..3e968241 100644 --- a/src/emotes.cpp +++ b/src/emotes.cpp @@ -52,7 +52,7 @@ void Courtroom::refresh_emotes() int x_pos = (button_width + x_spacing) * x_mod_count; int y_pos = (button_height + y_spacing) * y_mod_count; - AOEmoteButton *f_emote = new AOEmoteButton(ui_emotes, ao_app, x_pos, y_pos); + AOEmoteButton *f_emote = new AOEmoteButton(ui_emotes, ao_app, x_pos, y_pos, button_width, button_height); ui_emote_list.append(f_emote); |
