mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 22:50:59 +01:00
[Qt] optimize helpmessage dialog
- enlarge standard size - remove fixed 10px font - remove left mood image - ensure that table has no ugly line-breaks on OSX, Linux
This commit is contained in:
@@ -73,8 +73,8 @@ HelpMessageDialog::HelpMessageDialog(QWidget *parent, bool about) :
|
||||
tf.setBorderStyle(QTextFrameFormat::BorderStyle_None);
|
||||
tf.setCellPadding(2);
|
||||
QVector<QTextLength> widths;
|
||||
widths << QTextLength(QTextLength::PercentageLength, 20);
|
||||
widths << QTextLength(QTextLength::PercentageLength, 80);
|
||||
widths << QTextLength(QTextLength::PercentageLength, 35);
|
||||
widths << QTextLength(QTextLength::PercentageLength, 65);
|
||||
tf.setColumnWidthConstraints(widths);
|
||||
QTextTable *table = cursor.insertTable(2, 2, tf);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user