summaryrefslogtreecommitdiff
path: root/src/ui/listwidget.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/listwidget.c')
-rw-r--r--src/ui/listwidget.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ui/listwidget.c b/src/ui/listwidget.c
index 2130400c..fe53c595 100644
--- a/src/ui/listwidget.c
+++ b/src/ui/listwidget.c
@@ -26,6 +26,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
26#include "util.h" 26#include "util.h"
27#include "command.h" 27#include "command.h"
28#include "visbuf.h" 28#include "visbuf.h"
29#include "app.h"
29 30
30#include <the_Foundation/intset.h> 31#include <the_Foundation/intset.h>
31 32
@@ -136,6 +137,9 @@ void updateVisible_ListWidget(iListWidget *d) {
136 137
137void setItemHeight_ListWidget(iListWidget *d, int itemHeight) { 138void setItemHeight_ListWidget(iListWidget *d, int itemHeight) {
138 d->itemHeight = itemHeight; 139 d->itemHeight = itemHeight;
140 if (deviceType_App() != desktop_AppDeviceType) {
141 d->itemHeight += gap_UI;
142 }
139 invalidate_ListWidget(d); 143 invalidate_ListWidget(d);
140} 144}
141 145