]> git.proxmox.com Git - extjs.git/blame - extjs/classic/theme-neptune/overrides/picker/Month.js
add extjs 6.0.1 sources
[extjs.git] / extjs / classic / theme-neptune / overrides / picker / Month.js
CommitLineData
6527f429
DM
1Ext.define('Ext.theme.neptune.picker.Month', {\r
2 override: 'Ext.picker.Month',\r
3 \r
4 // Monthpicker contains logic that reduces the margins of the month items if it detects\r
5 // that the text has wrapped. This can happen in the classic theme in certain\r
6 // locales such as zh_TW. In order to work around this, Month picker measures\r
7 // the month items to see if the height is greater than "measureMaxHeight".\r
8 // In neptune the height of the items is larger, so we must increase this value.\r
9 // While the actual height of the month items in neptune is 24px, we will only \r
10 // determine that the text has wrapped if the height of the item exceeds 36px.\r
11 // this allows theme developers some leeway to increase the month item size in\r
12 // a neptune-derived theme.\r
13 measureMaxHeight: 36\r
14});