transfer panel: update layout

This commit is contained in:
rlx 2016-01-14 15:41:34 +05:30
parent d7a1e0611d
commit 996d3dc01f
1 changed files with 3 additions and 2 deletions

View File

@ -20,7 +20,7 @@ oml.ui.transfersPanel = function() {
title: Ox._(key.title), title: Ox._(key.title),
visible: id != 'id', visible: id != 'id',
width: id == 'title' ? 240 width: id == 'title' ? 240
: id == 'transferadded' ? 144 : id == 'transferadded' ? 160
: id == 'transferprogress' ? 80 - Ox.UI.SCROLLBAR_SIZE : id == 'transferprogress' ? 80 - Ox.UI.SCROLLBAR_SIZE
: key.columnWidth : key.columnWidth
}; };
@ -48,6 +48,7 @@ oml.ui.transfersPanel = function() {
$item = Ox.Element(), $item = Ox.Element(),
$cancelButton = Ox.Button({ $cancelButton = Ox.Button({
style: 'squared',
title: 'Cancel Transfer...', title: 'Cancel Transfer...',
width: 128 width: 128
}) })
@ -69,7 +70,7 @@ oml.ui.transfersPanel = function() {
that = Ox.SplitPanel({ that = Ox.SplitPanel({
elements: [ elements: [
{element: $list}, {element: $list},
{element: $item, size: 160} {element: $item, size: 144}
], ],
orientation: 'horizontal' orientation: 'horizontal'
}); });