Amélioration layout

This commit is contained in:
Adrien Bourmault 2023-02-09 12:39:14 +01:00
parent 086c3d97b6
commit 9969c6233c
No known key found for this signature in database
GPG Key ID: 6EB408FE0ACEC664
2 changed files with 10 additions and 7 deletions

View File

@ -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">&lt;b&gt;run_controls_label&lt;/b&gt;</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>

View File

@ -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);
}
}