DeckLayouter.cxx (8a1a651a) | DeckLayouter.cxx (b358a5b6) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 314 unchanged lines hidden (view full) --- 323 } 324 325 if (iItem->mpPanel->IsExpanded()) 326 { 327 Reference<ui::XSidebarPanel> xPanel (iItem->mpPanel->GetPanelComponent()); 328 if (xPanel.is()) 329 aLayoutSize = xPanel->getHeightForWidth(rContentBox.GetWidth()); 330 else | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 314 unchanged lines hidden (view full) --- 323 } 324 325 if (iItem->mpPanel->IsExpanded()) 326 { 327 Reference<ui::XSidebarPanel> xPanel (iItem->mpPanel->GetPanelComponent()); 328 if (xPanel.is()) 329 aLayoutSize = xPanel->getHeightForWidth(rContentBox.GetWidth()); 330 else |
331 aLayoutSize = ui::LayoutSize(MinimalPanelHeight, 0, -1); | 331 aLayoutSize = ui::LayoutSize(MinimalPanelHeight, -1, 0); |
332 } 333 } 334 iItem->maLayoutSize = aLayoutSize; 335 } 336} 337 338 339 --- 182 unchanged lines hidden --- | 332 } 333 } 334 iItem->maLayoutSize = aLayoutSize; 335 } 336} 337 338 339 --- 182 unchanged lines hidden --- |