Nice Word Wrap™ for apps.xml

This commit is contained in:
galister
2025-12-28 01:38:56 +09:00
parent 0783873a08
commit 2ff83b63f2

View File

@@ -4,12 +4,12 @@
<template name="AppEntry"> <template name="AppEntry">
<Button <Button
id="button" width="116" max_width="140" min_height="100" flex_grow="1" id="button" width="116" max_width="140" min_height="100" flex_grow="1"
flex_direction="column" overflow="visible" align_items="center" justify_content="center" gap="8"> flex_direction="column" overflow="visible" align_items="center" justify_content="center" gap="4">
<div> <div>
<sprite src="${src}" src_ext="${src_ext}" width="64" height="64" /> <sprite src="${src}" src_ext="${src_ext}" width="64" height="64" />
</div> </div>
<div align_items="center" justify_content="center"> <div align_items="center" justify_content="center">
<label weight="bold" text="${name}" size="12" /> <label width="116" weight="bold" text="${name}" size="12" wrap="1" align="center" padding_left="16" padding_right="16"/>
</div> </div>
</Button> </Button>
</template> </template>
@@ -39,4 +39,4 @@
overflow_y="scroll" overflow_y="scroll"
/> />
</elements> </elements>
</layout> </layout>