|
|||||||
![]() |
|
|
Thread Tools | Search this Thread |
|
|
#46 | |
|
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 54,455
Karma: 182161789
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
The first attached image is the default with the minimum horizontal size which the window seems to open to, the second is the smallest vertical and horizontal size and the third stretched enough to give all the options vertically and a rather long file path horizontally. The displays are 3840x2160 scaled to 175% but changing the scaling from 100% to 250% did not seem to make a noticeable difference. One question is if the resize could be made sticky. Edit: Not exactly sticky but if I edited plugin.py to change the default self.resize to (675, 700), it worked for me. Code:
class EnvVarDialog(QtWidgets.QDialog):
def __init__(self, env_vars, existing, plugin_version, bk):
super().__init__()
self.setWindowTitle("Sigil Environment Variables" + " " + plugin_version + showbeta())
self.resize(675, 700)
self.setMinimumSize(675, 210)
#self.setMaximumSize(1200, 800)
Last edited by DNSB; Yesterday at 08:02 PM. |
|
|
|
|
|
|
#47 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,038
Karma: 3761621
Join Date: Jan 2017
Location: Poland
Device: Various
|
I think the problem occurred in Linux distributions with more unusual themes, which, for example, forced an additional inner margin in elements.
As for the default height increase – I agree. Originally, that default size was perfect, but then I added new entries, and now it really is worth increasing it. P.S. In the past, I always kept in mind never to go overboard with that default size, because people have small monitors – let’s say 800x600px – but today I think I can let that go. |
|
|
|
| Advert | |
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Sigil Qt6 and GUI plugin development changes | DiapDealer | Plugins | 26 | 11-16-2023 11:12 AM |
| [Plugin] SelfCSS for Sigil WYSIWYG CSS editor | byword | Plugins | 5 | 08-30-2023 09:44 AM |
| QT scaling - Ways to change Environment Variables in Windows | Comfy.n | Calibre | 4 | 08-11-2022 11:20 PM |
| [GUI Plugin] Save Virtual Libraries To Column (GUI) | chaley | Plugins | 14 | 04-04-2021 05:25 AM |
| [Editor Plugin] - Enabling 'Customize plugin' dialog directly from the Editor | thiago.eec | Development | 7 | 01-09-2019 08:05 PM |