mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
libsysprof-gtk: setup style tweaks to test the window
This commit is contained in:
@ -74,14 +74,13 @@ markchart {
|
||||
timeruler {
|
||||
font-size: 0.833em;
|
||||
color: alpha(currentColor, .8);
|
||||
background: alpha(@borders, .25);
|
||||
}
|
||||
|
||||
tracks track chart {
|
||||
margin-top: 1px;
|
||||
}
|
||||
tracks track info {
|
||||
background: alpha(@borders, .5);
|
||||
background: alpha(@borders, .25);
|
||||
}
|
||||
tracks track info button {
|
||||
min-height: 0px;
|
||||
|
||||
@ -21,6 +21,7 @@
|
||||
#include "config.h"
|
||||
|
||||
#include <adwaita.h>
|
||||
#include <libpanel.h>
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include <sysprof-analyze.h>
|
||||
|
||||
@ -22,6 +22,7 @@
|
||||
|
||||
#include <adwaita.h>
|
||||
#include <gtk/gtk.h>
|
||||
#include <libpanel.h>
|
||||
|
||||
#include <sysprof-analyze.h>
|
||||
#include <sysprof-gtk.h>
|
||||
@ -169,6 +170,7 @@ main (int argc,
|
||||
|
||||
gtk_init ();
|
||||
adw_init ();
|
||||
panel_init ();
|
||||
|
||||
g_option_context_add_main_entries (context, entries, NULL);
|
||||
if (!g_option_context_parse (context, &argc, &argv, &error))
|
||||
|
||||
@ -4,15 +4,53 @@
|
||||
<child>
|
||||
<object class="AdwToolbarView">
|
||||
<property name="top-bar-style">raised</property>
|
||||
<property name="bottom-bar-style">raised</property>
|
||||
<child type="top">
|
||||
<object class="AdwHeaderBar">
|
||||
<child type="title">
|
||||
<object class="PanelOmniBar">
|
||||
<child type="prefix">
|
||||
<object class="GtkInscription">
|
||||
<property name="min-chars">25</property>
|
||||
<property name="nat-chars">25</property>
|
||||
<property name="valign">center</property>
|
||||
<property name="text-overflow">ellipsize-end</property>
|
||||
<binding name="text">
|
||||
<lookup name="title" type="AdwTabPage">
|
||||
<lookup name="selected-page">tab_view</lookup>
|
||||
</lookup>
|
||||
</binding>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
<child type="top">
|
||||
<object class="AdwTabBar">
|
||||
<property name="view">tab_view</property>
|
||||
</object>
|
||||
</child>
|
||||
<property name="content">
|
||||
<object class="SysprofTracksView">
|
||||
<binding name="session">
|
||||
<lookup name="session">TestTracks</lookup>
|
||||
</binding>
|
||||
<object class="AdwTabView" id="tab_view">
|
||||
<child>
|
||||
<object class="AdwTabPage">
|
||||
<binding name="title">
|
||||
<lookup name="title" type="SysprofDocument">
|
||||
<lookup name="document" type="SysprofSession">
|
||||
<lookup name="session">TestTracks</lookup>
|
||||
</lookup>
|
||||
</lookup>
|
||||
</binding>
|
||||
<property name="child">
|
||||
<object class="SysprofTracksView">
|
||||
<binding name="session">
|
||||
<lookup name="session">TestTracks</lookup>
|
||||
</binding>
|
||||
</object>
|
||||
</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</property>
|
||||
</object>
|
||||
|
||||
Reference in New Issue
Block a user