Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/mercurial/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Sencha touch 如何更改sencha touch 2中按钮边框半径的默认值?_Sencha Touch_Extjs_Sencha Touch 2 - Fatal编程技术网

Sencha touch 如何更改sencha touch 2中按钮边框半径的默认值?

Sencha touch 如何更改sencha touch 2中按钮边框半径的默认值?,sencha-touch,extjs,sencha-touch-2,Sencha Touch,Extjs,Sencha Touch 2,我正在使用Sencha Touch 2,我需要更改应用程序中按钮的默认边框半径 你怎么能做到?请给我一个代码样本 谢谢我想试试这样的东西: .x-button { border-radius:0.2em !important; } 只有当你确定要更改应用程序中每个按钮的边框半径时 希望这有助于包括 $button-radius: '2px'; 在您的custom-theme.scss文件中 然后使用compass compile命令编译scss文件

我正在使用Sencha Touch 2,我需要更改应用程序中按钮的默认边框半径

你怎么能做到?请给我一个代码样本


谢谢

我想试试这样的东西:

.x-button {
  border-radius:0.2em !important;
}
只有当你确定要更改应用程序中每个按钮的边框半径时

希望这有助于包括

$button-radius: '2px';
在您的custom-theme.scss文件中

然后使用compass compile命令编译scss文件