Commit 737fef9f authored by Luis de Bethencourt's avatar Luis de Bethencourt

ui: resize play/pause button

parent bd3847cc
......@@ -961,8 +961,6 @@ update_controls_size (UserInterface * ui)
icon_size = ctl_height * PLAY_TOGGLE_RATIO;
clutter_actor_set_size (ui->control_play_toggle, icon_size, icon_size);
clutter_actor_set_size (ui->info_box, (ctl_width * MAIN_BOX_W - icon_size),
ctl_height * MAIN_BOX_H);
clutter_box_layout_set_spacing (CLUTTER_BOX_LAYOUT (ui->info_box_layout),
ctl_width * 0.04f);
......
......@@ -47,7 +47,7 @@
#define MAIN_BOX_W 0.95f
#define MAIN_BOX_H 0.8f
#define PLAY_TOGGLE_RATIO 0.4f
#define PLAY_TOGGLE_RATIO 0.45f
#define TITLE_RATIO 0.04f
#define SEEK_WIDTH_RATIO 0.9f
#define SEEK_HEIGHT_RATIO 0.15f
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment