[PE] Fix themes list
This commit is contained in:
parent
de521b5a51
commit
8d54a7d1fb
|
@ -2280,13 +2280,13 @@ define([
|
||||||
uid : Common.UI.getId(),
|
uid : Common.UI.getId(),
|
||||||
themeId : theme.get_Index(),
|
themeId : theme.get_Index(),
|
||||||
tip : tip,
|
tip : tip,
|
||||||
offsety : index * 38
|
offsety : index * 40
|
||||||
}));
|
}));
|
||||||
arr2.push({
|
arr2.push({
|
||||||
uid : Common.UI.getId(),
|
uid : Common.UI.getId(),
|
||||||
themeId : theme.get_Index(),
|
themeId : theme.get_Index(),
|
||||||
tip : tip,
|
tip : tip,
|
||||||
offsety : index * 38
|
offsety : index * 40
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
_.each(docThemes, function(theme) {
|
_.each(docThemes, function(theme) {
|
||||||
|
|
|
@ -893,9 +893,9 @@ define([
|
||||||
|
|
||||||
me.listTheme = new Common.UI.ComboDataView({
|
me.listTheme = new Common.UI.ComboDataView({
|
||||||
cls: 'combo-styles',
|
cls: 'combo-styles',
|
||||||
itemWidth: 85,
|
itemWidth: 88,
|
||||||
enableKeyEvents: true,
|
enableKeyEvents: true,
|
||||||
itemHeight: 38,
|
itemHeight: 40,
|
||||||
lock: [_set.themeLock, _set.lostConnect, _set.noSlides],
|
lock: [_set.themeLock, _set.lostConnect, _set.noSlides],
|
||||||
beforeOpenHandler: function (e) {
|
beforeOpenHandler: function (e) {
|
||||||
var cmp = this,
|
var cmp = this,
|
||||||
|
|
|
@ -104,12 +104,18 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.item-theme {
|
.item-theme {
|
||||||
width: 85px;
|
width: 88px;
|
||||||
height: 38px;
|
height: 40px;
|
||||||
.background-ximage('../../../../../../sdkjs/common/Images/themes_thumbnail.png', '../../../../../../sdkjs/common/Images/themes_thumbnail@2x.png', 85px);
|
.background-ximage-v2('../../../../../../sdkjs/common/Images/themes_thumbnail.png', 88px);
|
||||||
background-size: cover
|
background-size: cover
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.combo-styles {
|
||||||
|
.item {
|
||||||
|
padding: 2px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#slot-btn-incfont, #slot-btn-decfont, #slot-btn-changecase {
|
#slot-btn-incfont, #slot-btn-decfont, #slot-btn-changecase {
|
||||||
margin-left: 2px;
|
margin-left: 2px;
|
||||||
}
|
}
|
Loading…
Reference in a new issue