HowTo Resize the Keyword Set Widget

Tips, Tricks, and Results
kaymann
Posts: 238
Joined: Tue Dec 14, 2010 5:25 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: ASUS P8P67 PRO REV 3.1
processor: Intel i-7 6800K
ram: 32 GB
Video Card: NVidia GeForce RTX 2060
sound_card: Onboard
Hard_Drive_Capacity: 3.5 T
Monitor/Display Make & Model: MSI MAG 341CQ & Dell 2470
Corel programs: PSP 2019 Ult, Painter 2020, CorelDraw X7

HowTo Resize the Keyword Set Widget

Post by kaymann »

I put the keyword widgets into thier own tab. I experienced the same difficulty we all had with the Presets widget in it's own tab (tab all to itself but only filled the top half - still had to use scrollbars). So I applied the same resizing logic to the KeywordSets.ui file.

I found the file here: C:\Program Files (x86)\Corel\Corel AfterShot Pro\supportfiles\tools\Keywords\KeywordSets.ui

Thank you LUNDBECH for your original solution to the Presets.ui problem

the KeywordSets.ui file looks like this in it's entirety:

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0" >
<class>BibbleSettingsForm_bis</class>
<widget class="SettingsWidget" name="BibbleSettingsForm_bis" >
  <property name="geometry" >
   <rect>
    <x>0</x>
    <y>0</y>
    <width>303</width>
    <height>209</height>
   </rect>
  </property>
  <property name="minimumSize" >
   <size>
    <width>0</width>
    <height>640</height>
   </size>
  </property>
  <property name="sizePolicy">
   <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
    <horstretch>0</horstretch>
    <verstretch>0</verstretch>
   </sizepolicy>
  </property>
  <property name="windowTitle" >
   <string>Keyword Sets</string>
  </property>
  <layout class="QVBoxLayout" name="verticalLayout" >
    <property name="margin" >
    <number>0</number>
   </property>
   <item>
   <widget class="CKeywordSetsWidget" name="KeywordSets" native="true">
   <property name="minimumSize" >
   <size>
    <width>0</width>
    <height>640</height>
   </size>
  </property>
    </widget>
   </item>
  </layout>
</widget>
<customwidgets>
  <customwidget>
   <class>SettingsWidget</class>
   <extends>QWidget</extends>
   <header>SettingsWidget.h</header>
   <container>1</container>
  </customwidget>
  <customwidget>
   <class>CCKeywordSetsWidget</class>
   <extends>QWidget</extends>
   <header>KeywordSetsWidget.h</header>
   <container>1</container>
  </customwidget>
</customwidgets>
<resources/>
<connections/>
</ui>