Move help after the component

This commit is contained in:
Arjan Molenaar 2021-12-30 12:29:22 +01:00
parent b3cdb9930d
commit 24cc5893a7
No known key found for this signature in database
GPG Key ID: BF977B918996CB13
3 changed files with 781 additions and 453 deletions

View File

@ -73,45 +73,36 @@ renderers and such.</property>
<property name="visible">1</property>
<property name="margin-top">6</property>
<property name="orientation">vertical</property>
<property name="spacing">6</property>
<child>
<object class="GtkBox">
<object class="GtkEntry" id="head-name">
<property name="visible">1</property>
<property name="spacing">6</property>
<property name="can-focus">1</property>
<signal name="changed" handler="head-name-changed" swapped="no"/>
</object>
</child>
<child>
<object class="GtkEventBox" id="head-info-icon">
<property name="visible">1</property>
<property name="margin-top">3</property>
<property name="halign">end</property>
<signal name="button-release-event" handler="head-info-clicked" swapped="no"/>
<child>
<object class="GtkEntry" id="head-name">
<object class="GtkLabel">
<property name="visible">1</property>
<property name="can-focus">1</property>
<signal name="changed" handler="head-name-changed" swapped="no"/>
<property name="margin-left">2</property>
<property name="margin-right">2</property>
<property name="label" translatable="yes">🛈 Help</property>
</object>
<packing>
<property name="expand">1</property>
</packing>
</child>
<child>
<object class="GtkEventBox" id="head-info-icon">
<property name="visible">1</property>
<property name="valign">start</property>
<signal name="button-release-event" handler="head-info-clicked" swapped="no"/>
<child>
<object class="GtkImage">
<property name="visible">1</property>
<property name="icon-name">info-symbolic</property>
</object>
</child>
<style>
<class name="info"/>
</style>
</object>
<packing>
<property name="fill">0</property>
</packing>
</child>
<style>
<class name="info"/>
</style>
</object>
</child>
<child>
<object class="GtkComboBoxText" id="head-navigation">
<property name="visible">1</property>
<property name="margin-top">6</property>
<items>
<item id="0" translatable="yes">Unknown navigation</item>
<item id="1" translatable="yes">Not navigable</item>
@ -119,13 +110,11 @@ renderers and such.</property>
</items>
<signal name="changed" handler="head-navigation-changed" swapped="no"/>
</object>
<packing>
<property name="position">1</property>
</packing>
</child>
<child>
<object class="GtkComboBoxText" id="head-aggregation">
<property name="visible">1</property>
<property name="margin-top">6</property>
<items>
<item id="0" translatable="yes">No aggregation</item>
<item id="1" translatable="yes">Shared</item>
@ -133,13 +122,11 @@ renderers and such.</property>
</items>
<signal name="changed" handler="head-aggregation-changed" swapped="no"/>
</object>
<packing>
<property name="position">2</property>
</packing>
</child>
<child>
<object class="GtkFrame" id="head-stereotype-frame">
<property name="visible">1</property>
<property name="margin-top">6</property>
<property name="shadow-type">in</property>
<child>
<object class="GtkTreeView" id="head-stereotype-list">
@ -185,9 +172,6 @@ renderers and such.</property>
</object>
</child>
</object>
<packing>
<property name="position">3</property>
</packing>
</child>
</object>
</child>
@ -216,45 +200,36 @@ renderers and such.</property>
<property name="visible">1</property>
<property name="margin-top">6</property>
<property name="orientation">vertical</property>
<property name="spacing">6</property>
<child>
<object class="GtkBox">
<object class="GtkEntry" id="tail-name">
<property name="visible">1</property>
<property name="spacing">6</property>
<property name="can-focus">1</property>
<signal name="changed" handler="tail-name-changed" swapped="no"/>
</object>
</child>
<child>
<object class="GtkEventBox" id="tail-info-icon">
<property name="visible">1</property>
<property name="margin-top">3</property>
<property name="halign">end</property>
<signal name="button-release-event" handler="tail-info-clicked" swapped="no"/>
<child>
<object class="GtkEntry" id="tail-name">
<object class="GtkLabel">
<property name="visible">1</property>
<property name="can-focus">1</property>
<signal name="changed" handler="tail-name-changed" swapped="no"/>
<property name="margin-left">2</property>
<property name="margin-right">2</property>
<property name="label" translatable="yes">🛈 Help</property>
</object>
<packing>
<property name="expand">1</property>
</packing>
</child>
<child>
<object class="GtkEventBox" id="tail-info-icon">
<property name="visible">1</property>
<property name="valign">start</property>
<signal name="button-release-event" handler="tail-info-clicked" swapped="no"/>
<child>
<object class="GtkImage">
<property name="visible">1</property>
<property name="icon-name">info-symbolic</property>
</object>
</child>
<style>
<class name="info"/>
</style>
</object>
<packing>
<property name="fill">0</property>
</packing>
</child>
<style>
<class name="info"/>
</style>
</object>
</child>
<child>
<object class="GtkComboBoxText" id="tail-navigation">
<property name="visible">1</property>
<property name="margin-top">6</property>
<items>
<item id="0" translatable="yes">Unknown navigation</item>
<item id="1" translatable="yes">Not navigable</item>
@ -262,13 +237,11 @@ renderers and such.</property>
</items>
<signal name="changed" handler="tail-navigation-changed" swapped="no"/>
</object>
<packing>
<property name="position">1</property>
</packing>
</child>
<child>
<object class="GtkComboBoxText" id="tail-aggregation">
<property name="visible">1</property>
<property name="margin-top">6</property>
<items>
<item id="0" translatable="yes">No aggregation</item>
<item id="1" translatable="yes">Shared</item>
@ -276,13 +249,11 @@ renderers and such.</property>
</items>
<signal name="changed" handler="tail-aggregation-changed" swapped="no"/>
</object>
<packing>
<property name="position">2</property>
</packing>
</child>
<child>
<object class="GtkFrame" id="tail-stereotype-frame">
<property name="visible">1</property>
<property name="margin-top">6</property>
<property name="shadow-type">in</property>
<child>
<object class="GtkTreeView" id="tail-stereotype-list">
@ -329,9 +300,6 @@ renderers and such.</property>
</object>
</child>
</object>
<packing>
<property name="position">3</property>
</packing>
</child>
</object>
</child>
@ -383,7 +351,6 @@ Use &lt;b&gt;-&lt;/b&gt;/&lt;b&gt;=&lt;/b&gt; to move items up or down.</propert
<property name="visible">1</property>
<property name="margin-top">6</property>
<property name="orientation">vertical</property>
<property name="spacing">6</property>
<child>
<object class="GtkBox">
<property name="visible">1</property>
@ -394,22 +361,6 @@ Use &lt;b&gt;-&lt;/b&gt;/&lt;b&gt;=&lt;/b&gt; to move items up or down.</propert
<property name="label" translatable="yes">Show Attributes</property>
</object>
</child>
<child>
<object class="GtkEventBox" id="attributes-info-icon">
<property name="visible">1</property>
<property name="valign">start</property>
<signal name="button-release-event" handler="attributes-info-clicked" swapped="no"/>
<child>
<object class="GtkImage">
<property name="visible">1</property>
<property name="icon-name">info-symbolic</property>
</object>
</child>
<style>
<class name="info"/>
</style>
</object>
</child>
<child>
<object class="GtkSwitch" id="show-attributes">
<property name="visible">1</property>
@ -426,6 +377,7 @@ Use &lt;b&gt;-&lt;/b&gt;/&lt;b&gt;=&lt;/b&gt; to move items up or down.</propert
<object class="GtkFrame">
<property name="visible">1</property>
<property name="shadow-type">in</property>
<property name="margin-top">6</property>
<child>
<object class="GtkTreeView" id="attributes-list">
<property name="height-request">112</property>
@ -475,6 +427,25 @@ Use &lt;b&gt;-&lt;/b&gt;/&lt;b&gt;=&lt;/b&gt; to move items up or down.</propert
</child>
</object>
</child>
<child>
<object class="GtkEventBox" id="attributes-info-icon">
<property name="visible">1</property>
<property name="margin-top">3</property>
<property name="halign">end</property>
<signal name="button-release-event" handler="attributes-info-clicked" swapped="no"/>
<child>
<object class="GtkLabel">
<property name="visible">1</property>
<property name="margin-left">2</property>
<property name="margin-right">2</property>
<property name="label" translatable="yes">🛈 Help</property>
</object>
</child>
<style>
<class name="info"/>
</style>
</object>
</child>
</object>
</child>
<child type="label">
@ -664,7 +635,7 @@ Use &lt;b&gt;-&lt;/b&gt;/&lt;b&gt;=&lt;/b&gt; to move items up or down.</propert
<property name="visible">1</property>
<property name="margin-top">6</property>
<property name="orientation">vertical</property>
<property name="spacing">6</property>
<!-- <property name="spacing">6</property> -->
<child>
<object class="GtkBox">
<property name="visible">1</property>
@ -675,22 +646,6 @@ Use &lt;b&gt;-&lt;/b&gt;/&lt;b&gt;=&lt;/b&gt; to move items up or down.</propert
<property name="label" translatable="yes">Show Operations</property>
</object>
</child>
<child>
<object class="GtkEventBox" id="operations-info-icon">
<property name="visible">1</property>
<property name="valign">start</property>
<signal name="button-release-event" handler="operations-info-clicked" swapped="no"/>
<child>
<object class="GtkImage">
<property name="visible">1</property>
<property name="icon-name">info-symbolic</property>
</object>
</child>
<style>
<class name="info"/>
</style>
</object>
</child>
<child>
<object class="GtkSwitch" id="show-operations">
<property name="visible">1</property>
@ -707,6 +662,7 @@ Use &lt;b&gt;-&lt;/b&gt;/&lt;b&gt;=&lt;/b&gt; to move items up or down.</propert
<object class="GtkFrame">
<property name="visible">1</property>
<property name="shadow-type">in</property>
<property name="margin-top">6</property>
<child>
<object class="GtkTreeView" id="operations-list">
<property name="height-request">112</property>
@ -768,9 +724,25 @@ Use &lt;b&gt;-&lt;/b&gt;/&lt;b&gt;=&lt;/b&gt; to move items up or down.</propert
</object>
</child>
</object>
<packing>
<property name="position">1</property>
</packing>
</child>
<child>
<object class="GtkEventBox" id="operations-info-icon">
<property name="visible">1</property>
<property name="margin-top">3</property>
<property name="halign">end</property>
<signal name="button-release-event" handler="operations-info-clicked" swapped="no"/>
<child>
<object class="GtkLabel">
<property name="visible">1</property>
<property name="margin-left">2</property>
<property name="margin-right">2</property>
<property name="label" translatable="yes">🛈 Help</property>
</object>
</child>
<style>
<class name="info"/>
</style>
</object>
</child>
</object>
</child>
@ -816,7 +788,6 @@ Use &lt;b&gt;-&lt;/b&gt;/&lt;b&gt;=&lt;/b&gt; to move items up or down.</propert
<property name="visible">1</property>
<property name="margin-top">6</property>
<property name="orientation">vertical</property>
<property name="spacing">6</property>
<child>
<object class="GtkBox">
<property name="visible">1</property>
@ -827,22 +798,6 @@ Use &lt;b&gt;-&lt;/b&gt;/&lt;b&gt;=&lt;/b&gt; to move items up or down.</propert
<property name="label" translatable="yes">Show Enumeration Literals</property>
</object>
</child>
<child>
<object class="GtkEventBox" id="enumerations-info-icon">
<property name="visible">1</property>
<property name="valign">start</property>
<signal name="button-release-event" handler="enumerations-info-clicked" swapped="no"/>
<child>
<object class="GtkImage">
<property name="visible">1</property>
<property name="icon-name">info-symbolic</property>
</object>
</child>
<style>
<class name="info"/>
</style>
</object>
</child>
<child>
<object class="GtkSwitch" id="show-enumerations">
<property name="visible">1</property>
@ -860,6 +815,7 @@ Use &lt;b&gt;-&lt;/b&gt;/&lt;b&gt;=&lt;/b&gt; to move items up or down.</propert
<child>
<object class="GtkFrame">
<property name="visible">1</property>
<property name="margin-top">6</property>
<property name="shadow-type">in</property>
<child>
<object class="GtkTreeView" id="enumerations-list">
@ -894,9 +850,25 @@ Use &lt;b&gt;-&lt;/b&gt;/&lt;b&gt;=&lt;/b&gt; to move items up or down.</propert
</object>
</child>
</object>
<packing>
<property name="position">1</property>
</packing>
</child>
<child>
<object class="GtkEventBox" id="enumerations-info-icon">
<property name="visible">1</property>
<property name="margin-top">3</property>
<property name="halign">end</property>
<signal name="button-release-event" handler="enumerations-info-clicked" swapped="no"/>
<child>
<object class="GtkLabel">
<property name="visible">1</property>
<property name="margin-left">2</property>
<property name="margin-right">2</property>
<property name="label" translatable="yes">🛈 Help</property>
</object>
</child>
<style>
<class name="info"/>
</style>
</object>
</child>
</object>
</child>

View File

@ -60,7 +60,8 @@ flowboxchild:hover * {
}
.info {
border-radius: 50%;
border-radius: 4px;
font-size: small;
}
.info:hover {
color: @theme_selected_fg_color;

File diff suppressed because it is too large Load Diff