aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS-TheRevival/MainForms/Applications/Universal/Knowledge Input/Uni_KnowledgeInput.vb
diff options
context:
space:
mode:
authorEverythingWindows <[email protected]>2022-11-23 10:32:09 +0700
committerEverythingWindows <[email protected]>2022-11-23 10:32:09 +0700
commit2c4952012f194936e6b677f3b95e07fdadd3b337 (patch)
tree963cd6ac73a24cdba77eb1215a7d0838cfed7020 /ShiftOS-TheRevival/MainForms/Applications/Universal/Knowledge Input/Uni_KnowledgeInput.vb
parent30ceaeb60fcb83cd3eaf5ec7a3dd34e3abade51d (diff)
downloadshiftos-therevival-old-2c4952012f194936e6b677f3b95e07fdadd3b337.tar.gz
shiftos-therevival-old-2c4952012f194936e6b677f3b95e07fdadd3b337.tar.bz2
shiftos-therevival-old-2c4952012f194936e6b677f3b95e07fdadd3b337.zip
DuWM
Diffstat (limited to 'ShiftOS-TheRevival/MainForms/Applications/Universal/Knowledge Input/Uni_KnowledgeInput.vb')
-rw-r--r--ShiftOS-TheRevival/MainForms/Applications/Universal/Knowledge Input/Uni_KnowledgeInput.vb10
1 files changed, 10 insertions, 0 deletions
diff --git a/ShiftOS-TheRevival/MainForms/Applications/Universal/Knowledge Input/Uni_KnowledgeInput.vb b/ShiftOS-TheRevival/MainForms/Applications/Universal/Knowledge Input/Uni_KnowledgeInput.vb
index c47e545..f0fcfcb 100644
--- a/ShiftOS-TheRevival/MainForms/Applications/Universal/Knowledge Input/Uni_KnowledgeInput.vb
+++ b/ShiftOS-TheRevival/MainForms/Applications/Universal/Knowledge Input/Uni_KnowledgeInput.vb
@@ -1,3 +1,13 @@
Public Class Uni_KnowledgeInput
+ Dim PrevWidthTxt_InputWord As Integer
+ Private Sub Uni_KnowledgeInput_Load(sender As Object, e As EventArgs) Handles MyBase.Load
+ PrevWidthTxt_InputWord = txt_InputWord.Width
+ End Sub
+
+ Private Sub Uni_KnowledgeInput_Resize(sender As Object, e As EventArgs) Handles MyBase.Resize
+ 'Dim Txt_InputTextWidthRatio As Double = (txt_InputWord.Width / PrevWidthTxt_InputWord)
+ 'txt_InputWord.Width = txt_InputWord.Width * Txt_InputTextWidthRatio
+ 'PrevWidthTxt_InputWord = txt_InputWord.Width
+ End Sub
End Class \ No newline at end of file