> For the complete documentation index, see [llms.txt](https://ujhhgtgteams.gitbook.io/wekit-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ujhhgtgteams.gitbook.io/wekit-docs/jie-mian-mei-hua/custom-dpi.md).

# DPI 修改

> 自定义微信屏幕密度

## 类别

界面美化, 系统与隐私

## 类型

可开关 & 可点击

## 描述

自定义微信使用的屏幕密度 (DPI) 值, 通过修改 `DisplayMetrics` 来改变微信界面的显示缩放比例。数值越大, 界面元素越小, 可显示更多内容; 数值越小, 界面元素越大。

默认值为 360。建议设置合理的 DPI 值, 过大或过小可能导致界面显示异常。

同时会调整底部 Tab 图标的缩放比例, 使其在新 DPI 下保持合适的显示大小。

## 使用方法

在模块设置中启用后点击输入所需的显示宽度值


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://ujhhgtgteams.gitbook.io/wekit-docs/jie-mian-mei-hua/custom-dpi.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
