mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-07-07 21:41:43 -07:00
Network list update works in UI.
This commit is contained in:
parent
4d86b2f02f
commit
e3b0197e57
4 changed files with 347 additions and 381 deletions
|
@ -17,6 +17,10 @@ Network::Network(QWidget *parent,const std::string &nwid) :
|
|||
{
|
||||
ui->setupUi(this);
|
||||
ui->networkIdPushButton->setText(QString(nwid.c_str()));
|
||||
QFontMetrics fm(ui->ipListWidget->font());
|
||||
int lineHeight = ui->ipListWidget->spacing() + fm.height();
|
||||
ui->ipListWidget->setMinimumHeight(lineHeight * 3);
|
||||
ui->ipListWidget->setMaximumHeight(lineHeight * 3);
|
||||
}
|
||||
|
||||
Network::~Network()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue