mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-19 19:14:42 +00:00
better management category labels in parameter frame
This commit is contained in:
parent
8dac7f0d5e
commit
f83122aebd
@ -176,7 +176,8 @@ void RichParameterListFrame::loadFrameContent(
|
||||
if (!p.first.isEmpty()) {
|
||||
QString labltext = "<P><b>" + p.first + ":</b></P>";
|
||||
QLabel* l = new QLabel(labltext, this);
|
||||
glay->addWidget(l,i++,0,Qt::AlignLeft);
|
||||
l->setAlignment(Qt::AlignRight);
|
||||
glay->addWidget(l,i++,0);
|
||||
}
|
||||
//put the parameter widgets into the grid layout
|
||||
for (const RichParameter* fpi : p.second){
|
||||
@ -197,7 +198,8 @@ void RichParameterListFrame::loadFrameContent(
|
||||
if (!p.first.isEmpty()) {
|
||||
QString labltext = "<P><b>" + p.first + ":</b></P>";
|
||||
QLabel* l = new QLabel(labltext, this);
|
||||
flay->addWidget(l,j++,0,Qt::AlignLeft);
|
||||
l->setAlignment(Qt::AlignRight);
|
||||
flay->addWidget(l,j++,0);
|
||||
}
|
||||
for (const RichParameter* fpi : p.second){
|
||||
const RichParameter& defrp = defParSet.getParameterByName(fpi->name());
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user