mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-09-14 07:52:17 +00:00
WIP: A temporary fix for value displaying on Mac.
This commit is contained in:
parent
f7e392a078
commit
59e064effc
@ -58,6 +58,9 @@ KevaDialog::KevaDialog(const PlatformStyle *_platformStyle, QWidget *parent) :
|
||||
bookmarks = new KevaBookmarksModel(NULL, NULL);
|
||||
bookmarks->loadBookmarks();
|
||||
|
||||
ui->kevaView->setTextElideMode(Qt::ElideRight);
|
||||
ui->kevaView->setWordWrap(false);
|
||||
|
||||
// context menu
|
||||
contextMenu = new QMenu(this);
|
||||
contextMenu->addAction(copyURIAction);
|
||||
|
@ -75,6 +75,8 @@ QVariant KevaTableModel::data(const QModelIndex &index, int role) const
|
||||
{
|
||||
if (index.column() == Block)
|
||||
return (int)(Qt::AlignRight|Qt::AlignVCenter);
|
||||
else if (index.column() == Value)
|
||||
return (int)(Qt::AlignLeft|Qt::AlignTop);
|
||||
}
|
||||
return QVariant();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user