left section

This commit is contained in:
j 2024-02-26 12:23:55 +00:00
parent 628af705e3
commit 89525d65f5

View file

@ -112,6 +112,12 @@ pandora.ui.documentInfoView = function(data, isMixed) {
}); });
if (!isMultiple) { if (!isMultiple) {
var $left = Ox.Element()
.css({
position: 'absolute'
})
.appendTo($info);
var $icon = Ox.Element({ var $icon = Ox.Element({
element: '<img>', element: '<img>',
}) })
@ -128,7 +134,7 @@ pandora.ui.documentInfoView = function(data, isMixed) {
.bindEvent({ .bindEvent({
// singleclick: toggleIconSize // singleclick: toggleIconSize
}) })
.appendTo($info), .appendTo($left),
$reflection = $('<div>') $reflection = $('<div>')
.addClass('OxReflection') .addClass('OxReflection')
@ -140,7 +146,7 @@ pandora.ui.documentInfoView = function(data, isMixed) {
height: iconSize / 2 + 'px', height: iconSize / 2 + 'px',
overflow: 'hidden' overflow: 'hidden'
}) })
.appendTo($info), .appendTo($left),
$reflectionIcon = $('<img>') $reflectionIcon = $('<img>')
.attr({ .attr({
@ -163,6 +169,16 @@ pandora.ui.documentInfoView = function(data, isMixed) {
.appendTo($reflection); .appendTo($reflection);
} }
var $data = $('<div>')
.addClass('OxTextPage')
.css({
position: 'absolute',
left: margin + 'px',
top: margin + iconHeight + margin + 'px',
width: (iconSize == 256 ? iconSize : iconWidth) + 'px',
})
.appendTo($left);
var $text = Ox.Element() var $text = Ox.Element()
.addClass('OxTextPage') .addClass('OxTextPage')
.css({ .css({