mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-04 08:46:09 +00:00
ColorBar: Show 8 columns by default
This commit is contained in:
parent
50369242ee
commit
e63831c87f
@ -89,7 +89,7 @@ ColorBar::ColorBar(int align)
|
||||
child_spacing = 2*jguiscale();
|
||||
|
||||
m_paletteView.setBoxSize(6*jguiscale());
|
||||
m_paletteView.setColumns(4);
|
||||
m_paletteView.setColumns(8);
|
||||
m_fgColor.setPreferredSize(0, m_fgColor.getPreferredSize().h);
|
||||
m_bgColor.setPreferredSize(0, m_bgColor.getPreferredSize().h);
|
||||
|
||||
|
@ -113,6 +113,9 @@ MainWindow::MainWindow()
|
||||
if (box_workspace) box_workspace->addChild(m_workspace);
|
||||
if (box_timeline) box_timeline->addChild(m_timeline);
|
||||
|
||||
// Default layout of widgets
|
||||
m_colorBarSplitter->setPosition(m_colorBar->getPreferredSize().w);
|
||||
|
||||
// Prepare the window
|
||||
remapWindow();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user