imageView: Fullscreen button at typical position
My muscle memory, research, and the proximity to "zoom in" tells me we should try moving it to the right. Closes #105 Part-of: <https://gitlab.gnome.org/Incubator/loupe/-/merge_requests/194>
This commit is contained in:
parent
4037b124d2
commit
b55b51a0f3
1 changed files with 18 additions and 18 deletions
|
|
@ -59,24 +59,6 @@
|
||||||
<property name="margin-top">18</property>
|
<property name="margin-top">18</property>
|
||||||
<property name="margin-bottom">18</property>
|
<property name="margin-bottom">18</property>
|
||||||
<property name="spacing">12</property>
|
<property name="spacing">12</property>
|
||||||
<child>
|
|
||||||
<object class="GtkButton" id="fullscreen_button">
|
|
||||||
<property name="halign">end</property>
|
|
||||||
<binding name="icon-name">
|
|
||||||
<closure type="gchararray" function="get_fullscreen_icon">
|
|
||||||
<lookup type="GtkWindow" name="fullscreened">
|
|
||||||
<lookup type="GtkWidget" name="root">LpImageView</lookup>
|
|
||||||
</lookup>
|
|
||||||
</closure>
|
|
||||||
</binding>
|
|
||||||
<property name="action-name">win.toggle-fullscreen</property>
|
|
||||||
<property name="tooltip-text" translatable="yes">Toggle Fullscreen</property>
|
|
||||||
<style>
|
|
||||||
<class name="osd"/>
|
|
||||||
<class name="circular"/>
|
|
||||||
</style>
|
|
||||||
</object>
|
|
||||||
</child>
|
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkButton" id="zoom_out">
|
<object class="GtkButton" id="zoom_out">
|
||||||
<property name="icon-name">zoom-out-symbolic</property>
|
<property name="icon-name">zoom-out-symbolic</property>
|
||||||
|
|
@ -99,6 +81,24 @@
|
||||||
</style>
|
</style>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkButton" id="fullscreen_button">
|
||||||
|
<property name="halign">end</property>
|
||||||
|
<binding name="icon-name">
|
||||||
|
<closure type="gchararray" function="get_fullscreen_icon">
|
||||||
|
<lookup type="GtkWindow" name="fullscreened">
|
||||||
|
<lookup type="GtkWidget" name="root">LpImageView</lookup>
|
||||||
|
</lookup>
|
||||||
|
</closure>
|
||||||
|
</binding>
|
||||||
|
<property name="action-name">win.toggle-fullscreen</property>
|
||||||
|
<property name="tooltip-text" translatable="yes">Toggle Fullscreen</property>
|
||||||
|
<style>
|
||||||
|
<class name="osd"/>
|
||||||
|
<class name="circular"/>
|
||||||
|
</style>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkEventControllerMotion" id="controls_box_end_events" />
|
<object class="GtkEventControllerMotion" id="controls_box_end_events" />
|
||||||
</child>
|
</child>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue