fix: add bottom gap to button manager footer
This commit is contained in:
@@ -1071,7 +1071,7 @@ FloatBallAppWM.prototype.buildButtonEditorPanelView = function() {
|
||||
bottomBar.addView(btnListSave, btnListSaveLp);
|
||||
|
||||
var listBottomLp = new android.widget.LinearLayout.LayoutParams(android.widget.LinearLayout.LayoutParams.MATCH_PARENT, android.widget.LinearLayout.LayoutParams.WRAP_CONTENT);
|
||||
listBottomLp.setMargins(0, self.dp(6), 0, 0);
|
||||
listBottomLp.setMargins(0, self.dp(6), 0, self.dp(12));
|
||||
panel.addView(bottomBar, listBottomLp);
|
||||
|
||||
} else {
|
||||
@@ -3679,7 +3679,7 @@ try {
|
||||
bottomBar.addView(btnSave, btnSaveLp);
|
||||
|
||||
var bottomLp = new android.widget.LinearLayout.LayoutParams(android.widget.LinearLayout.LayoutParams.MATCH_PARENT, android.widget.LinearLayout.LayoutParams.WRAP_CONTENT);
|
||||
bottomLp.setMargins(0, self.dp(6), 0, 0);
|
||||
bottomLp.setMargins(0, self.dp(6), 0, self.dp(12));
|
||||
panel.addView(bottomBar, bottomLp);
|
||||
}
|
||||
|
||||
|
||||
@@ -54,8 +54,8 @@
|
||||
"size": 20386
|
||||
},
|
||||
"th_14_panels.js": {
|
||||
"sha256": "191b0b61534db05a27474f4aaec9a6e16b1a0aa4f01dfd519036ba3deb0a59de",
|
||||
"size": 239224
|
||||
"sha256": "8fad61213c8b4428f4bd9ce5b96357458aa39b8f2f1ec1b5c65d8f397d0292a7",
|
||||
"size": 239244
|
||||
},
|
||||
"th_15_extra.js": {
|
||||
"sha256": "44d19f0012f4182b9f9831d4f5a747b43d3b726f98e0480e6c79f54eeff70a5e",
|
||||
@@ -68,5 +68,5 @@
|
||||
},
|
||||
"keyId": "toolhub-targets-2026-rsa3072",
|
||||
"schema": 2,
|
||||
"version": 20260513002736
|
||||
"version": 20260513003201
|
||||
}
|
||||
|
||||
@@ -1 +1 @@
|
||||
SNWCr5nq8GcStvfHDiIxw+kll+rU7YmEU8DKynKBp8CiK6Ves2YQdZ31NoTf2b0GWPad/I/xkz1tk9b25cfvW4fi7W+w4FMlFjVHogwcu9M4MPhUF0PLpf23TAoXHmchdQ8mvZahxpHYR/kpW8ss+kTqaByeIp6Y93C+Zje1MRMiWmS36ynODF/0Chrv3QAP1PrRw/oIzin/iw9R9sGG3GLArYPgKcd9nuqsbW3jhC28RAlKySIfuCboFytAU4SlUi83LGd2riDlXnpPVCCELA2YhAE1WKtUoCjKdJX+gffoM8V11GzlkGoIrI3rgxkqcs4R8R6fNnVzQjtbt1IqxSL5AUCqSfSYMJEcZm0b3d8qQ6Wz/+k8Q/7UeqTVuhqVihTn9eKdP09VM531cWKBTAqRMkliknYwi3fWsLRGmXdR0chdrSZVchDa2/snHONIBLVm8i21FzCujVHPRte89Dsg78y3Gug5X+7zvXvQ+14DEFGASfduDXX7kphYsdrL
|
||||
N6p+D+KwipFJGV52Ne9CeLA4SDbZbM7BbGoG7iDcONwoQ00a9lzyKxqImXYk1GCwGFqP4QUJ5WSGEBKFEjI8WnPsviqRb81rC9t+WDtY29xyQfzCanJ34Abi3mDfh0xrJODOwfbrF0MwQjxVzdkjfRQHAeek18QRAMuBhpo3ahck9v/FRPzMqNU+NEAmWKDoB/OqI3YJm33wzr+JKB2cSsK4VWFQI9gHP07rXWhGgcRcjs0+8x4itd4EJHGO83gTLIoMkVdhhYQLHRGPFkN5BJMpwGq9ULeP2LfQGPefcGF0ZkRTPq5V/LGsJDPk2+jWLMjGCgteY5ir5E8rTudqDDEO7U4VkTTCe9WF/8d1S1HbSwivUKzIEgPPNNgycdw14ByVEbxzwWHyBa/27VH5EkmiwIOw3ITXIHgGJYOZFjWBmupwd+jIUEijrAf3ABSsOc15NWru4n1XwNZTcPNzDmMsztGfVdb3+H7u9eE2Doa0RAdPhKBPc8RXbEs+rx4X
|
||||
|
||||
@@ -14,7 +14,7 @@ checks = [
|
||||
("manager no homepage block text", "按钮管理首页" not in text),
|
||||
("manager header count only", "共 \" + buttons.length + \" 个按钮" in text),
|
||||
("manager list footer uses remaining-height scroll", "避免“取消更改/保存所有”被挤到屏幕外" in text and "scrollLp.weight = 1" in text),
|
||||
("manager list footer has equal buttons", "btnListCancelLp.weight = 1" in text and "btnListSaveLp.weight = 1" in text and "listBottomLp" in text),
|
||||
("manager list footer has equal buttons and bottom gap", "btnListCancelLp.weight = 1" in text and "btnListSaveLp.weight = 1" in text and "listBottomLp.setMargins(0, self.dp(6), 0, self.dp(12))" in text),
|
||||
("editor no useless workbench", "按钮编辑工作台" not in text and "createButtonEditorHeroCard" not in text),
|
||||
("editor has field spacing helper", "addButtonEditorField" in text),
|
||||
("editor fixed footer has equal buttons", "btnCancelLp.weight = 1" in text and "btnSaveLp.weight = 1" in text and "self.dp(44)" in text),
|
||||
|
||||
Reference in New Issue
Block a user