[HTC EVO 3D] martyfracker:
EDIT: MIUI China is working on their own fix. I will leave this up though in case it allows someone to fix it before they do.

We all know that the issue with the widgets being off-centered is an aesthetic disaster for the MIUI launcher (any other launcher displays widgets just fine w/o any problems).

A temporary solution is to change the dpi setting from 240 to 270. While this fixes the off-centered-ness of the widgets, it creates other graphical problems (an obvious one is the separator between the notification bar tabs when the current tab is notifications). This is not a favorable solution in my opinion. I think the best way to alleviate the issue is to modify the launcher2.apk which controls, well.. the MIUI launcher.

I have looked into the apk myself (decompiled using http://xdaforums.com/showthread.php?t=695701) and found an interesting file: /res/values/dimens.xml. Note: that you have to decompile the apk rather than just extracting it in order to view the un-encrypted text.

This is what is inside the file itself:

<?xml version="1.0" encoding="UTF-8"?>
<resources>
<dimen name="title_texture_width">120.0px</dimen>
<dimen name="button_bar_height">70.0dip</dimen>
<dimen name="slide_bar_height">20.0dip</dimen>
<dimen name="widget_thumbnail_size">47.0dip</dimen>
<dimen name="widget_box_height">99.0dip</dimen>
<dimen name="status_bar_height">25.0dip</dimen>
<dimen name="workspace_cell_width">80.0dip</dimen>
<dimen name="workspace_cell_height">90.0dip</dimen>
<dimen name="workspace_widget_cell_width">80.0dip</dimen>
<dimen name="workspace_widget_cell_height">100.0dip</dimen>
<dimen name="workspace_widget_cell_measure_width">80.0dip</dimen>
<dimen name="workspace_widget_cell_measure_height">74.0dip</dimen>
<dimen name="workspace_widget_padding_top">12.0dip</dimen>
<dimen name="workspace_widget_padding_bottom">24.0dip</dimen>
<dimen name="workspace_padding_top">25.0dip</dimen>
<dimen name="workspace_padding_side">8.5dip</dimen>
<dimen name="workspace_margin_bottom">71.34dip</dimen>
<dimen name="workspace_folder_height_addition">25.0dip</dimen>
<dimen name="workspace_folder_width_addition">12.0dip</dimen>
<dimen name="workspace_folder_padding_top">-15.0dip</dimen>
<dimen name="icon_width_margin">1.0dip</dimen>
<dimen name="workspace_icon_text">12.0sp</dimen>
<dimen name="workspace_icon_text_notification">13.0sp</dimen>
<dimen name="icon_message_top_margin">2.5dip</dimen>
<dimen name="lyric_line_extra_spacing">20.0dip</dimen>
<dimen name="icon_shadow_size">8.0dip</dimen>
<dimen name="user_folder_cell_width">73.0dip</dimen>
<dimen name="user_folder_cell_height">87.0dip</dimen>
</resources>

Snipet from the code above:

<dimen name="workspace_cell_width">80.0dip</dimen>
<dimen name="workspace_cell_height">90.0dip</dimen>
<dimen name="workspace_widget_cell_width">80.0dip</dimen>
<dimen name="workspace_widget_cell_height">100.0dip</dimen>
<dimen name="workspace_widget_cell_measure_width">80.0dip</dimen>
<dimen name="workspace_widget_cell_measure_height">74.0dip</dimen>

I'm not entirely sure if this is the file causing the problem. If it is, however, then modifying the values pertaining to the workspace height and width parameters (particularly the widget parameters) would probably be the key to fixing our problem.

Any thoughts?