diff -r 3641ea6b55d5 -r cf507e6f12d7 OllamaInterface/OllamaWidget.ui --- a/OllamaInterface/OllamaWidget.ui Tue Aug 27 14:06:50 2024 +0200 +++ b/OllamaInterface/OllamaWidget.ui Wed Aug 28 18:20:33 2024 +0200 @@ -90,9 +90,6 @@ <property name="orientation"> <enum>Qt::Vertical</enum> </property> - <property name="childrenCollapsible"> - <bool>false</bool> - </property> <widget class="QScrollArea" name="historyScrollArea"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> @@ -112,7 +109,7 @@ <x>0</x> <y>0</y> <width>533</width> - <height>641</height> + <height>68</height> </rect> </property> </widget> @@ -125,32 +122,48 @@ </sizepolicy> </property> </widget> + <widget class="QWidget" name=""> + <layout class="QGridLayout" name="gridLayout"> + <item row="0" column="0" rowspan="2"> + <widget class="QPlainTextEdit" name="messageEdit"> + <property name="toolTip"> + <string>Enter the message to be sent to the 'ollama' server.</string> + </property> + <property name="tabChangesFocus"> + <bool>true</bool> + </property> + <property name="placeholderText"> + <string>Enter Message</string> + </property> + </widget> + </item> + <item row="1" column="1"> + <spacer name="verticalSpacer"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>40</height> + </size> + </property> + </spacer> + </item> + <item row="0" column="1"> + <widget class="QToolButton" name="sendButton"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="toolTip"> + <string>Press to send the message of the current chat to the 'ollama' server.</string> + </property> + </widget> + </item> + </layout> + </widget> </widget> </item> - <item> - <layout class="QHBoxLayout" name="horizontalLayout_3"> - <item> - <widget class="QLineEdit" name="messageEdit"> - <property name="toolTip"> - <string>Enter the message to be sent to the 'ollama' server.</string> - </property> - <property name="placeholderText"> - <string>Enter Message</string> - </property> - </widget> - </item> - <item> - <widget class="QToolButton" name="sendButton"> - <property name="enabled"> - <bool>false</bool> - </property> - <property name="toolTip"> - <string>Press to send the message of the current chat to the 'ollama' server.</string> - </property> - </widget> - </item> - </layout> - </item> </layout> </widget> <customwidgets> @@ -165,8 +178,6 @@ <tabstop>newChatButton</tabstop> <tabstop>reloadModelsButton</tabstop> <tabstop>historyScrollArea</tabstop> - <tabstop>messageEdit</tabstop> - <tabstop>sendButton</tabstop> <tabstop>ollamaMenuButton</tabstop> </tabstops> <resources/>