[glom] Minor uppercase correction for font names



commit 234541a8cd6787cf936ebe45f2c19dfe1bb0b522
Author: Murray Cumming <murrayc murrayc com>
Date:   Sat Aug 27 16:37:18 2011 +0200

    Minor uppercase correction for font names

 .../relationships_overview/canvas_group_dbtable.cc |    4 ++--
 .../dialog_relationships_overview.cc               |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/glom/mode_design/relationships_overview/canvas_group_dbtable.cc b/glom/mode_design/relationships_overview/canvas_group_dbtable.cc
index 509cbc6..e9ade6b 100644
--- a/glom/mode_design/relationships_overview/canvas_group_dbtable.cc
+++ b/glom/mode_design/relationships_overview/canvas_group_dbtable.cc
@@ -62,7 +62,7 @@ CanvasGroupDbTable::CanvasGroupDbTable(const Glib::ustring& table_name, const Gl
   Glib::RefPtr<CanvasTextMovable> m_text = CanvasTextMovable::create(title,
     x + margin, y + margin, m_table_width - margin*2,
     Goocanvas::ANCHOR_NORTH_WEST);
-  m_text->property_font() = "sans 10";
+  m_text->property_font() = "Sans 12"; //TODO: Let the user specify this.
   m_text->property_use_markup() = true;
   m_text->set_movement_allowed(false, false); //Move only as part of the parent group.
   add_child(m_text);
@@ -93,7 +93,7 @@ CanvasGroupDbTable::CanvasGroupDbTable(const Glib::ustring& table_name, const Gl
     Glib::RefPtr<CanvasTextMovable> text_item = CanvasTextMovable::create(title, 
       x + margin, y + margin + field_y, m_table_width - margin*2,
       Goocanvas::ANCHOR_NORTH_WEST);
-    text_item->property_font() = "sans 10";
+    text_item->property_font() = "Sans 10"; //TODO: Let the user specify this.
     text_item->property_use_markup() = true;
     text_item->set_movement_allowed(false, false); //Move only as part of the parent group.
     add_child(text_item);
diff --git a/glom/mode_design/relationships_overview/dialog_relationships_overview.cc b/glom/mode_design/relationships_overview/dialog_relationships_overview.cc
index 189878c..8fdc217 100644
--- a/glom/mode_design/relationships_overview/dialog_relationships_overview.cc
+++ b/glom/mode_design/relationships_overview/dialog_relationships_overview.cc
@@ -328,7 +328,7 @@ void Dialog_RelationshipsOverview::draw_lines()
           Glib::RefPtr<CanvasTextMovable> text = CanvasTextMovable::create(relationship->get_title_or_name(),
             text_x, text_y, -1, //TODO: Calc a suitable width.
             Goocanvas::ANCHOR_CENTER);
-          text->property_font() = "sans 10";
+          text->property_font() = "Sans 10";
           text->property_use_markup() = true;
           text->set_movement_allowed(false, false); //Move only as part of the parent group.
           m_group_lines->add_child(text);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]