Zren / plasma-applet-commandoutput

https://store.kde.org/p/1166510/
GNU General Public License v2.0
87 stars 18 forks source link

Adaptive size of input fields #54

Closed thingsiplay closed 2 months ago

thingsiplay commented 4 months ago

Adapt size of the input fields when resizing the Command Output Settings window. Right now the line for the command is very short and would stay that short, even though there is enough room in the window. This becomes especially useful when the command is a chain of programs and many options.

Zren commented 2 months ago

Looks like I need to use QQC2.TextField { wrapMode: QQC2.TextField.Wrap }

https://doc.qt.io/qt-5/qml-qtquick-textinput.html#wrapMode-prop

Also I can use Kirigami.FormData.isSection: true to make the Kirigami entry use both columns however it still leaves a lot of empty whitespace on the sides.

Zren commented 2 months ago

%Y-%M-%D___%H-%m-%S-1

The kirigami config theme can't grow very wide but it's better than what we currently have.

Zren commented 2 months ago

%Y-%M-%D___%H-%m-%S-2

Almost forgot the actions tab commands.

thingsiplay commented 2 months ago

Thanks for this. This is absolutely sufficient and makes it much better to edit directly in the edit box, instead copy/edit/copy/paste to external editor. This will be a nice update.