Changeset 26502
- Timestamp:
- 07/19/08 08:39:14 (4 months ago)
- Files:
-
- 1 modified
-
haiku/trunk/src/kits/interface/Slider.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
haiku/trunk/src/kits/interface/Slider.cpp
r26479 r26502 1301 1301 BSize preferredSize = PreferredSize(); 1302 1302 1303 if (_width) 1304 *_width = preferredSize.width; 1303 if (_width) { 1304 // *_width = preferredSize.width; 1305 // NOTE: For compatibility reasons, the BSlider never shrinks 1306 // horizontally. This only affects applications which do not 1307 // use the new layout system. 1308 *_width = max_c(Bounds().Width(), preferredSize.width); 1309 } 1305 1310 1306 1311 if (_height)
