Skip to content

Commit

Permalink
Add left and right margins
Browse files Browse the repository at this point in the history
  • Loading branch information
Bytezz committed Oct 27, 2023
1 parent 4d3ba53 commit 26ea451
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion data/io.github.bytezz.IPLookup.gschema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<schemalist gettext-domain="iplookup">
<schema id="io.github.bytezz.IPLookup" path="/io/github/bytezz/IPLookup/">
<key name="window-width" type="i">
<default>500</default>
<default>450</default>
</key>
<key name="window-height" type="i">
<default>715</default>
Expand Down
7 changes: 4 additions & 3 deletions src/window.ui
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<requires lib="gtk" version="4.0"/>
<requires lib="Adw" version="1.0"/>
<template class="IplookupWindow" parent="AdwApplicationWindow">
<property name="default-width">500</property>
<property name="default-width">450</property>
<property name="default-height">715</property>
<property name="title" translatable="yes">IP Lookup</property>
<child>
Expand All @@ -29,14 +29,15 @@
<object class="GtkViewport">
<child>
<object class="AdwClamp">
<property name="maximum-size">530</property>
<property name="margin-top">10</property>
<property name="margin-start">10</property>
<property name="margin-end">10</property>
<child>
<object class="GtkBox">
<property name="orientation">vertical</property>
<property name="spacing">10</property>
<child>
<object class="AdwPreferencesGroup">
<property name="margin-top">10</property>
<child>
<!-- TODO: Move this to headerbar as GtkEntry? -->
<object class="AdwEntryRow" id="ip_entry">
Expand Down

0 comments on commit 26ea451

Please sign in to comment.