git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] Make file tree to tab widget ratio 1:5

From
APAndy Parkins <andyparkins@gmail.com>
Date
Feb 7, 2007, 21:39 UTC
Message-ID
<200702072139.35393.andyparkins@gmail.com>
In-Reply-To
<75ebbfaed42a61c54ec6a38bc60d5e777a074dc5.1170884269.git.andyparkins@gmail.com>
Signed-off-by: Andy Parkins <andyparkins@gmail.com>
---
 src/mainview.ui |   18 +++++++++++++++++-
 1 files changed, 17 insertions(+), 1 deletions(-)
diff --git a/src/mainview.ui b/src/mainview.ui
index 5376291..7919b5d 100644
--- a/src/mainview.ui
+++ b/src/mainview.ui
@@ -29,6 +29,14 @@
        <enum>Qt::Horizontal</enum>
       </property>
       <widget class="TreeView" name="treeView" >
+       <property name="sizePolicy" >
+        <sizepolicy>
+         <hsizetype>7</hsizetype>
+         <vsizetype>13</vsizetype>
+         <horstretch>1</horstretch>
+         <verstretch>0</verstretch>
+        </sizepolicy>
+       </property>
        <property name="contextMenuPolicy" >
         <enum>Qt::CustomContextMenu</enum>
        </property>
@@ -48,6 +56,14 @@
        </column>
       </widget>
       <widget class="QTabWidget" name="tabWdg" >
+       <property name="sizePolicy" >
+        <sizepolicy>
+         <hsizetype>7</hsizetype>
+         <vsizetype>7</vsizetype>
+         <horstretch>5</horstretch>
+         <verstretch>0</verstretch>
+        </sizepolicy>
+       </property>
        <widget class="QWidget" name="TabWdg" >
         <attribute name="title" >
          <string>Tab&amp;Wdg</string>
@@ -90,7 +106,7 @@
      <x>0</x>
      <y>0</y>
      <width>975</width>
-     <height>32</height>
+     <height>31</height>
     </rect>
    </property>
    <widget class="QMenu" name="Edit" >
-- 
1.5.0.rc1.gf4b6c
Previous: Andy Parkins
Message 2 of 2 in “qgit: Improve default column widths by changing resize modes”
  1. qgit: Improve default column widths by changing resize modesAndy Parkins, Feb 7, 2007
  2. Make file tree to tab widget ratio 1:5Andy Parkins, Feb 7, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.