Search found 20 matches

by Alyven
Thu Aug 27, 2020 6:32 am
Forum: Help Forum
Topic: Userwindows Border Colors
Replies: 9
Views: 792

Re: Userwindows Border Colors

QWidget { color: #eff0f1; background-color: #000000; selection-background-color:#3daee9; selection-color: #eff0f1; background-clip: border; border-image: none; border: 0px transparent black; outline: 0; } Try to avoid using QWidget by itself as styling option as it is to general and styles to many ...
by Alyven
Wed Aug 26, 2020 8:34 am
Forum: Help Forum
Topic: Userwindows Border Colors
Replies: 9
Views: 792

Re: Userwindows Border Colors

QMainWindow::separator { background: yellow; width: 10px; height: 10px; } To get this to work you'll have to use setAppStyleSheet (it's not part of the ProfileStyleSheet) Btw I made a new PR to change stylesheet for every single userwindow (border and title area) You can test it by using the Test v...
by Alyven
Wed Aug 26, 2020 7:06 am
Forum: Help Forum
Topic: Userwindows Border Colors
Replies: 9
Views: 792

Re: Userwindows Border Colors

It is possible to change the border settings for QDockWidgets (which includes UserWindows) by using ProfileStyleSheet. try this (ugly) example. setProfileStyleSheet( [[QDockWidget{ border: 20px solid green; font: bold 15pt "Arial"; } QDockWidget::title{ background-color: rgb(0,255,100); border: 1px ...
by Alyven
Tue Aug 18, 2020 9:32 am
Forum: Help Forum
Topic: Adjustable Container Reset
Replies: 2
Views: 216

Re: Adjustable Container Reset

You can try lua myContainer:show() in the command line and maybe lua myContainer:raiseAll() if it's behind some other element. There is also a constraint autoLoad which you can set to false on creation see: https://wiki.mudlet.org/w/Manual:Geyser#AutoSave_and_AutoLoad There is no myContainer:reset()...
by Alyven
Wed May 13, 2020 4:13 pm
Forum: Scripts & Packages
Topic: Adjustable TabWindows
Replies: 0
Views: 1989

Adjustable TabWindows

Adjustable Tabwindows are tabbed windows for containers powered by Adjustable Container. Base was the TabWindow example on the Geyser page in the Mudlet wiki. Tabs can be dragged from one tab-bar to the next tab-bar, if dropped into the empty a window with the tab content will be created. Tabs can a...
by Alyven
Sun May 10, 2020 9:13 am
Forum: Scripts & Packages
Topic: GUIDrop Drag and Drop Images onto Mudlet
Replies: 4
Views: 771

Re: GUIDrop Drag and Drop Images onto Mudlet

In terms of deleting it, I mean, after it has been converted to a label, it is still defined both in the script editor and in a lua file. Deleting it from the script editor and restarting mudlet, causes it to be pulled from the lua file. But because it has been converted to a label, there is no rig...
by Alyven
Thu May 07, 2020 6:51 am
Forum: Scripts & Packages
Topic: GUIDrop Drag and Drop Images onto Mudlet
Replies: 4
Views: 771

Re: GUIDrop Drag and Drop Images onto Mudlet

Deleting a label created in this way doesn't seem to be easy. I found I needed to delete the file in the profile/AdjustableContainers folder. Have you tried delete image in the right click menu? (I have to remove some options there so it's more visible) That one is doing exactly that (deleting the ...
by Alyven
Wed May 06, 2020 3:23 pm
Forum: Scripts & Packages
Topic: GUIDrop Drag and Drop Images onto Mudlet
Replies: 4
Views: 771

GUIDrop Drag and Drop Images onto Mudlet

GUIDrop adds functionality to add images directly to Mudlet by Drag&Drop The script and luacode will be created automatically. It uses Adjustable Container with some extras. (check the custom menu) Once found the position you want the image at, it can be converted into a normal Geyser.Label and use ...
by Alyven
Mon Apr 20, 2020 11:48 am
Forum: Help Forum
Topic: resetProfile being loaded multiple times
Replies: 5
Views: 645

Re: resetProfile being loaded multiple times

A solution for that would be to make a tempAlias in you scripts.
I do it like this

Code: Select all

resetProfilAlias = resetProfileAlias or tempAlias("^rp$",[[resetProfile()]])
Like this the command rp would call resetProfile() and it works all the time
by Alyven
Mon Apr 20, 2020 7:43 am
Forum: Help Forum
Topic: resetProfile being loaded multiple times
Replies: 5
Views: 645

Re: resetProfile being loaded multiple times

As you put the resetProfile() in an script in the Script-manager you even can call yourself lucky it didn't create a infinite loop as resetProfile() is also reloading the scripts. To use resetProfile() properply try to use the command lua resetProfile() in the commandline. Edit: Just noticed that it...