Remove useless padding in textarea and Add screenshot

This commit is contained in:
Piyush मिश्रः 2024-09-20 22:03:34 +05:30
parent 9029a49f51
commit 9c47d379e9
5 changed files with 27 additions and 8 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
build

View File

@ -1,10 +1,11 @@
# Notepad # Notepad
Simple Notepad made with qt
Simple Notepad made with Qt 4
![Screenshot](screenshot.png) ![Screenshot](screenshot.png)
#### Build #### Build
```sh ```sh
# mkdir build # mkdir build
# cd build # cd build

View File

@ -6,8 +6,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>600</width> <width>628</width>
<height>500</height> <height>461</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
@ -19,6 +19,21 @@
</property> </property>
<widget class="QWidget" name="centralWidget"> <widget class="QWidget" name="centralWidget">
<layout class="QVBoxLayout" name="verticalLayout"> <layout class="QVBoxLayout" name="verticalLayout">
<property name="spacing">
<number>6</number>
</property>
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item> <item>
<widget class="QTextEdit" name="textEdit"/> <widget class="QTextEdit" name="textEdit"/>
</item> </item>
@ -29,8 +44,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>600</width> <width>628</width>
<height>23</height> <height>27</height>
</rect> </rect>
</property> </property>
<widget class="QMenu" name="menuFile"> <widget class="QMenu" name="menuFile">
@ -238,7 +253,8 @@
</action> </action>
<action name="actionAbout"> <action name="actionAbout">
<property name="icon"> <property name="icon">
<iconset theme="help-about"/> <iconset theme="help-about">
<normaloff>.</normaloff>.</iconset>
</property> </property>
<property name="text"> <property name="text">
<string>About</string> <string>About</string>
@ -246,7 +262,8 @@
</action> </action>
<action name="actionPrint"> <action name="actionPrint">
<property name="icon"> <property name="icon">
<iconset theme="document-print"/> <iconset theme="document-print">
<normaloff>.</normaloff>.</iconset>
</property> </property>
<property name="text"> <property name="text">
<string>Print</string> <string>Print</string>

BIN
screenshot.old.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 216 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 216 KiB

After

Width:  |  Height:  |  Size: 568 KiB