VirtualBox

Ignore:
Timestamp:
Feb 7, 2008 12:46:41 PM (17 years ago)
Author:
vboxsync
Message:

Little bit another variant of total list viewport width calculation for Shared Folders list.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/ui/VBoxSharedFoldersSettings.ui.h

    r6811 r6844  
    392392    /* Adjust two columns size.
    393393     * Watching columns 0&2 to feat 1/3 of total width. */
    394     int total = listView->columnWidth (0) +
    395                 listView->columnWidth (1) +
    396                 listView->columnWidth (2);
     394    int total = listView->viewport()->width();
    397395
    398396    listView->adjustColumn (0);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette