// Button Text QString buttonText1 = "Button1"; QString buttonText2 = "Button2"; // Button list buttonList = new MythListButton(this, "statusbox"); // Set active (forgot what this does) buttonList->SetActive(true); buttonList->SetFontActive(fontProp); //fontProp.color = QColor(qRgb(128, 128, 128)); buttonList->SetFontInactive(fontProp); buttonList->SetSpacing(NormX(10)); buttonList->SetMargin(NormX(6)); //buttonList->SetDrawFromBottom(true); buttonList->SetTextFlags(Qt::AlignCenter); // Add buttons to list // MythListButtonItem *button1 = new MythListButtonItem(buttonList, buttonText1); // MythListButtonItem *button2 = new MythListButtonItem(buttonList, buttonText2); cout << "Button count:\t" << buttonList->GetCount() << "\nDraw offset:\tx:\t" << buttonList->GetDrawOffset().x() << "\n\t\ty:\t" << buttonList->GetDrawOffset().y() << endl;