You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-08-10 22:11:50 +02:00
Mobile: New note menu: Force quick action shortcuts to have the same size (#12195)
This commit is contained in:
@@ -57,7 +57,11 @@ const LabelledIconButton: React.FC<Props> = ({ title, icon, style, themeId, ...o
|
|||||||
>
|
>
|
||||||
<View style={styles.buttonContent}>
|
<View style={styles.buttonContent}>
|
||||||
<Icon style={styles.icon} accessibilityLabel={null} name={icon}/>
|
<Icon style={styles.icon} accessibilityLabel={null} name={icon}/>
|
||||||
<Text variant='labelMedium'>{title}</Text>
|
<Text
|
||||||
|
variant='labelMedium'
|
||||||
|
ellipsizeMode='tail'
|
||||||
|
numberOfLines={1}
|
||||||
|
>{title}</Text>
|
||||||
</View>
|
</View>
|
||||||
</TouchableRipple>;
|
</TouchableRipple>;
|
||||||
};
|
};
|
||||||
|
@@ -35,6 +35,8 @@ const styles = StyleSheet.create({
|
|||||||
},
|
},
|
||||||
shortcutButton: {
|
shortcutButton: {
|
||||||
flexGrow: 1,
|
flexGrow: 1,
|
||||||
|
flexShrink: 1,
|
||||||
|
flexBasis: 0,
|
||||||
},
|
},
|
||||||
mainButton: {
|
mainButton: {
|
||||||
flexShrink: 1,
|
flexShrink: 1,
|
||||||
|
Reference in New Issue
Block a user