Set HildonNote margins during construction
[hildon] / hildon / hildon-entry.c
index 6e065bc..eb8d22a 100644 (file)
 
 /**
  * SECTION:hildon-entry
- * @short_description: Widget representing a text entry in the Hildon framework.
+ * @short_description: Text entry in the Hildon framework.
  *
- * The #HildonEntry is a GTK widget which represents a text entry. It
- * is derived from the #GtkEntry widget and provides additional
- * commodities specific to the Hildon framework.
+ * The #HildonEntry is text entry derived from the #GtkEntry widget providing
+ * additional commodities specific to the Hildon framework.
  *
  * Besides all the features inherited from #GtkEntry, a #HildonEntry
  * can also have a placeholder text. This text will be shown if the
@@ -264,8 +263,8 @@ hildon_entry_class_init                         (HildonEntryClass *klass)
             "Size",
             "Size request for the entry",
             HILDON_TYPE_SIZE_TYPE,
-            HILDON_SIZE_AUTO,
-            G_PARAM_WRITABLE));
+            HILDON_SIZE_AUTO_WIDTH | HILDON_SIZE_FINGER_HEIGHT,
+            G_PARAM_CONSTRUCT | G_PARAM_WRITABLE));
 
     g_type_class_add_private (klass, sizeof (HildonEntryPrivate));
 }