summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/sfx2/dinfdlg.hxx2
-rw-r--r--sfx2/uiconfig/ui/documentinfopage.ui11
2 files changed, 7 insertions, 6 deletions
diff --git a/include/sfx2/dinfdlg.hxx b/include/sfx2/dinfdlg.hxx
index ecf71c43adfe..027f6bcfb085 100644
--- a/include/sfx2/dinfdlg.hxx
+++ b/include/sfx2/dinfdlg.hxx
@@ -180,7 +180,7 @@ class SfxDocumentPage : public SfxTabPage
{
private:
FixedImage* m_pBmp;
- Edit* m_pNameED;
+ SelectableFixedText* m_pNameED;
PushButton* m_pChangePassBtn;
SelectableFixedText* m_pShowTypeFT;
diff --git a/sfx2/uiconfig/ui/documentinfopage.ui b/sfx2/uiconfig/ui/documentinfopage.ui
index 84d684f7a3e6..494e20fb120a 100644
--- a/sfx2/uiconfig/ui/documentinfopage.ui
+++ b/sfx2/uiconfig/ui/documentinfopage.ui
@@ -412,13 +412,14 @@
</packing>
</child>
<child>
- <object class="GtkEntry" id="nameed">
+ <object class="GtkLabel" id="nameed">
<property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="valign">center</property>
+ <property name="can_focus">False</property>
<property name="hexpand">True</property>
- <property name="editable">False</property>
- <property name="invisible_char">•</property>
+ <property name="xalign">0</property>
+ <property name="selectable">True</property>
+ <property name="single_line_mode">True</property>
+ <property name="max_width_chars">56</property>
</object>
<packing>
<property name="left_attach">1</property>