Skip to content

Commit 26ea451

Browse files
committed
Add left and right margins
1 parent 4d3ba53 commit 26ea451

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

data/io.github.bytezz.IPLookup.gschema.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<schemalist gettext-domain="iplookup">
33
<schema id="io.github.bytezz.IPLookup" path="/io/github/bytezz/IPLookup/">
44
<key name="window-width" type="i">
5-
<default>500</default>
5+
<default>450</default>
66
</key>
77
<key name="window-height" type="i">
88
<default>715</default>

src/window.ui

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<requires lib="gtk" version="4.0"/>
44
<requires lib="Adw" version="1.0"/>
55
<template class="IplookupWindow" parent="AdwApplicationWindow">
6-
<property name="default-width">500</property>
6+
<property name="default-width">450</property>
77
<property name="default-height">715</property>
88
<property name="title" translatable="yes">IP Lookup</property>
99
<child>
@@ -29,14 +29,15 @@
2929
<object class="GtkViewport">
3030
<child>
3131
<object class="AdwClamp">
32-
<property name="maximum-size">530</property>
32+
<property name="margin-top">10</property>
33+
<property name="margin-start">10</property>
34+
<property name="margin-end">10</property>
3335
<child>
3436
<object class="GtkBox">
3537
<property name="orientation">vertical</property>
3638
<property name="spacing">10</property>
3739
<child>
3840
<object class="AdwPreferencesGroup">
39-
<property name="margin-top">10</property>
4041
<child>
4142
<!-- TODO: Move this to headerbar as GtkEntry? -->
4243
<object class="AdwEntryRow" id="ip_entry">

0 commit comments

Comments
 (0)