Inset emery text
This commit is contained in:
@@ -77,7 +77,11 @@ static void layout_result_text_layer(void) {
|
|||||||
|
|
||||||
Layer *root = window_get_root_layer(s_result_window);
|
Layer *root = window_get_root_layer(s_result_window);
|
||||||
GRect bounds = layer_get_bounds(root);
|
GRect bounds = layer_get_bounds(root);
|
||||||
|
#if PBL_RECT && PBL_DISPLAY_WIDTH > 144
|
||||||
|
const int16_t side_margin = 12;
|
||||||
|
#else
|
||||||
const int16_t side_margin = 6;
|
const int16_t side_margin = 6;
|
||||||
|
#endif
|
||||||
const int16_t width = bounds.size.w - (2 * side_margin);
|
const int16_t width = bounds.size.w - (2 * side_margin);
|
||||||
const int16_t gap = 2;
|
const int16_t gap = 2;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user