diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-03-07 19:10:43 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-03-07 19:10:43 +0000 |
| commit | cc0ac806a2dc698d9c20b24498bc865e2d9798ad (patch) | |
| tree | cbc58e14bb0c530d6efe2bdc1fc916e562939481 /src/wx/content_properties_dialog.cc | |
| parent | 07d67a12cc3e4492c4c9c39cdd6fd30ff1e3e612 (diff) | |
Various small fixes to appearance of content properties dialog.
Diffstat (limited to 'src/wx/content_properties_dialog.cc')
| -rw-r--r-- | src/wx/content_properties_dialog.cc | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/wx/content_properties_dialog.cc b/src/wx/content_properties_dialog.cc index 8920ad913..37f96c156 100644 --- a/src/wx/content_properties_dialog.cc +++ b/src/wx/content_properties_dialog.cc @@ -51,7 +51,15 @@ ContentPropertiesDialog::ContentPropertiesDialog (wxWindow* parent, shared_ptr<C } for (map<string, list<Content::UserProperty> >::const_iterator i = grouped.begin(); i != grouped.end(); ++i) { - add (std_to_wx ("<b>" + i->first + "</b>"), false); + + wxStaticText* m = new wxStaticText (this, wxID_ANY, std_to_wx (i->first)); + wxFont font (*wxNORMAL_FONT); + font.SetWeight (wxFONTWEIGHT_BOLD); + m->SetFont (font); + + add_spacer (); + add_spacer (); + add (m, false); add_spacer (); BOOST_FOREACH (Content::UserProperty j, i->second) { |
