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