forked from AuroraMiddleware/gtk
fontchooser: Remove placeholder from preview entry
The way we explicitly set the font on the entry conflicts with the placeholder text styling. But the entry isn't normally empty, so placeholder text is not that important here. Remove it and use a tooltip instead.
This commit is contained in:
parent
09176fc1b3
commit
975ab6e7cf
@ -185,7 +185,7 @@
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkEntry" id="preview">
|
||||
<property name="placeholder-text" translatable="yes">Preview text</property>
|
||||
<property name="tooltip-text" translatable="yes">Preview Font</property>
|
||||
<child>
|
||||
<object class="GtkEventControllerScroll">
|
||||
<property name="flags" translatable="yes">horizontal</property>
|
||||
@ -321,7 +321,7 @@
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkEntry" id="preview2">
|
||||
<property name="placeholder-text" translatable="yes">Preview text</property>
|
||||
<property name="tooltip-text" translatable="yes">Preview Font</property>
|
||||
<property name="text" bind-source="preview" bind-property="text" bind-flags="bidirectional"/>
|
||||
<property name="attributes" bind-source="preview" bind-property="attributes" bind-flags="bidirectional"/>
|
||||
</object>
|
||||
|
Loading…
Reference in New Issue
Block a user