Skip to content

Commit

Permalink
Fix EOL box width
Browse files Browse the repository at this point in the history
  • Loading branch information
valeriansaliou committed Jun 2, 2021
1 parent 57e1806 commit 10c52d7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/config/environment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,15 @@ pub const END_OF_LINE_STEPS_INDEX_FONT_SIZE: u32 = 14;
pub const END_OF_LINE_CONTENT_WIDTH: f64 = DISPLAY_WINDOW_SIZE_WIDTH as f64;
pub const END_OF_LINE_CONTENT_HEIGHT: f64 =
WINDOW_ICON_HEIGHT as f64 - END_OF_LINE_TITLE_HEIGHT - END_OF_LINE_STEPS_WRAPPER_HEIGHT;
pub const END_OF_LINE_CONTENT_BOX_WIDTH: f64 = END_OF_LINE_STEPS_ITEMS_WIDTH;
pub const END_OF_LINE_CONTENT_BOX_WIDTH: f64 = 680.0;
pub const END_OF_LINE_CONTENT_BOX_HEIGHT: f64 = 160.0;
pub const END_OF_LINE_CONTENT_BOX_OFFSET_TOP: f64 = 36.0;
pub const END_OF_LINE_CONTENT_ICON_WIDTH: u32 = 100;
pub const END_OF_LINE_CONTENT_ICON_HEIGHT: u32 = END_OF_LINE_CONTENT_ICON_WIDTH;
pub const END_OF_LINE_CONTENT_ICON_SIZE: f64 = END_OF_LINE_CONTENT_ICON_WIDTH as f64;
pub const END_OF_LINE_CONTENT_ICON_SPACING_SIDES: f64 = 40.0;
pub const END_OF_LINE_CONTENT_TEXT_WRAPPER_MARGIN_RIGHT: f64 = 40.0;
pub const END_OF_LINE_CONTENT_TEXT_WRAPPER_WIDTH: f64 = END_OF_LINE_STEPS_ITEMS_WIDTH
pub const END_OF_LINE_CONTENT_TEXT_WRAPPER_WIDTH: f64 = END_OF_LINE_CONTENT_BOX_WIDTH
- (END_OF_LINE_CONTENT_ICON_SIZE
+ (2.0 * END_OF_LINE_CONTENT_ICON_SPACING_SIDES)
+ END_OF_LINE_CONTENT_TEXT_WRAPPER_MARGIN_RIGHT);
Expand All @@ -65,7 +65,7 @@ pub const END_OF_LINE_CONTENT_TEXT_WRAPPER_HEIGHT: f64 = END_OF_LINE_CONTENT_TEX
pub const END_OF_LINE_CONTENT_TEXT_TITLE_FONT_SIZE: u32 = 19;
pub const END_OF_LINE_CONTENT_TEXT_MESSAGE_FONT_SIZE: u32 = 14;
pub const END_OF_LINE_CONTENT_TEXT_MESSAGE_MARGIN_TOP: f64 = 19.0;
pub const END_OF_LINE_CONTENT_DETAILS_BOX_WIDTH: f64 = END_OF_LINE_STEPS_ITEMS_WIDTH;
pub const END_OF_LINE_CONTENT_DETAILS_BOX_WIDTH: f64 = END_OF_LINE_CONTENT_BOX_WIDTH;
pub const END_OF_LINE_CONTENT_DETAILS_BOX_HEIGHT: f64 = 34.0;
pub const END_OF_LINE_CONTENT_DETAILS_BOX_MARGIN_BOTTOM: f64 = 16.0;
pub const END_OF_LINE_CONTENT_DETAILS_TEXT_FONT_SIZE: u32 = 13;
Expand Down

0 comments on commit 10c52d7

Please sign in to comment.