Amélioration layout
This commit is contained in:
parent
086c3d97b6
commit
9969c6233c
|
@ -4,8 +4,8 @@
|
|||
<!-- interface-name gem-graph.ui -->
|
||||
<requires lib="gtk" version="4.6"/>
|
||||
<template class="GemGraphClientWindow" parent="GtkApplicationWindow">
|
||||
<property name="default-height">720</property>
|
||||
<property name="default-width">1080</property>
|
||||
<property name="default-height">900</property>
|
||||
<property name="default-width">1400</property>
|
||||
<property name="icon-name">application-x-executable</property>
|
||||
<property name="title">GemGraph 0.1.0</property>
|
||||
<style>
|
||||
|
@ -51,12 +51,15 @@
|
|||
<object class="GtkBox">
|
||||
<property name="orientation">vertical</property>
|
||||
<child>
|
||||
<object class="GtkLabel" id="run_controls_label">
|
||||
<property name="justify">center</property>
|
||||
<object class="GtkBox" id="run_controls">
|
||||
<property name="margin-top">50</property>
|
||||
<property name="margin-bottom">50</property>
|
||||
<property name="label" translatable="yes"><b>run_controls_label</b></property>
|
||||
<property name="use-markup">True</property>
|
||||
<property name="orientation">horizontal</property>
|
||||
<child>
|
||||
<object class="GtkToggleButton" id="run_play_control">
|
||||
<property name="icon-name"></property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
|
|
|
@ -282,7 +282,7 @@ void ui_toggle_sidebar(void)
|
|||
if (position != 0) {
|
||||
gtk_paned_set_position(window->main_paned, 0);
|
||||
} else {
|
||||
gtk_paned_set_position(window->main_paned, 300);
|
||||
gtk_paned_set_position(window->main_paned, 400);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue